deno: simplify buildInputs

After suggestions in a previous PR I'm simplifying the buildInputs
This commit is contained in:
06kellyjac 2020-06-27 21:10:22 +01:00
parent 489367777c
commit 9c006cb88a

View file

@ -32,8 +32,7 @@ rustPlatform.buildRustPackage rec {
# Install completions post-install
nativeBuildInputs = [ installShellFiles ];
buildInputs = with stdenv.lib; [ ]
++ optionals stdenv.isDarwin [ Security CoreServices ];
buildInputs = stdenv.lib.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
# To avoid this we pre-download the file and place it in the locations it will require it in advance