mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 00:20:19 +02:00
deno: simplify buildInputs
After suggestions in a previous PR I'm simplifying the buildInputs
This commit is contained in:
parent
489367777c
commit
9c006cb88a
|
@ -32,8 +32,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
# Install completions post-install
|
# Install completions post-install
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = with stdenv.lib; [ ]
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security CoreServices ];
|
||||||
++ optionals stdenv.isDarwin [ Security CoreServices ];
|
|
||||||
|
|
||||||
# The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
|
# The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem
|
||||||
# To avoid this we pre-download the file and place it in the locations it will require it in advance
|
# To avoid this we pre-download the file and place it in the locations it will require it in advance
|
||||||
|
|
Loading…
Reference in a new issue