summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-02-03 13:57:57 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-03 13:57:57 +0200
commit58ef5957e266f04dd02541b5d615e5c286f2eb0e (patch)
tree32ee4fe6a9c7ce93398c24aaa1029ececd4b5c26 /pkgs
parent3effd5bb05633ccabe9d0d3349c4b7dff9e6b019 (diff)
downloadnixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar.gz
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar.bz2
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar.lz
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar.xz
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.tar.zst
nixpkgs-58ef5957e266f04dd02541b5d615e5c286f2eb0e.zip
rust binary build: call patchShebangs on install.sh
It failed on aarch64 otherwise. The #!/bin/sh inside/outside the sandbox
probably matters but I don't investigate more for now.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/rust/binaryBuild.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/binaryBuild.nix b/pkgs/development/compilers/rust/binaryBuild.nix
index c8af0d979e2..6c6f6b55e1e 100644
--- a/pkgs/development/compilers/rust/binaryBuild.nix
+++ b/pkgs/development/compilers/rust/binaryBuild.nix
@@ -91,6 +91,7 @@ rec {
     buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin Security;
 
     installPhase = ''
+      patchShebangs ./install.sh
       ./install.sh --prefix=$out \
         --components=cargo