summary refs log tree commit diff
path: root/pkgs/development/web/deno/default.nix
diff options
context:
space:
mode:
author06kellyjac <dev@j-k.io>2020-06-27 21:10:22 +0100
committer06kellyjac <dev@j-k.io>2020-06-27 21:10:22 +0100
commit9c006cb88a6348bc3602c03aee8b8557ea07e3df (patch)
tree8a993b92002729542e6129d6772c74cd27759e8a /pkgs/development/web/deno/default.nix
parent489367777ccfefd9ac9c788e20a81adedb552b84 (diff)
downloadnixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar.gz
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar.bz2
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar.lz
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar.xz
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.tar.zst
nixpkgs-9c006cb88a6348bc3602c03aee8b8557ea07e3df.zip
deno: simplify buildInputs
After suggestions in a previous PR I'm simplifying the buildInputs
Diffstat (limited to 'pkgs/development/web/deno/default.nix')
-rw-r--r--pkgs/development/web/deno/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix
index 4a8c3907520..d47b029a67c 100644
--- a/pkgs/development/web/deno/default.nix
+++ b/pkgs/development/web/deno/default.nix
@@ -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