summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/binary.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/rust/binary.nix')
-rw-r--r--pkgs/development/compilers/rust/binary.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rust/binary.nix b/pkgs/development/compilers/rust/binary.nix
index 770cc3415f2..ce4250f675e 100644
--- a/pkgs/development/compilers/rust/binary.nix
+++ b/pkgs/development/compilers/rust/binary.nix
@@ -83,8 +83,8 @@ rec {
       license = [ licenses.mit licenses.asl20 ];
     };
 
-    buildInputs = [ makeWrapper bash ]
-      ++ lib.optional stdenv.isDarwin Security;
+    nativeBuildInputs = [ makeWrapper ];
+    buildInputs = [ bash ] ++ lib.optional stdenv.isDarwin Security;
 
     postPatch = ''
       patchShebangs .