diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-03 13:57:57 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-02-03 13:57:57 +0200 |
commit | 58ef5957e266f04dd02541b5d615e5c286f2eb0e (patch) | |
tree | 32ee4fe6a9c7ce93398c24aaa1029ececd4b5c26 /pkgs/development/compilers/rust | |
parent | 3effd5bb05633ccabe9d0d3349c4b7dff9e6b019 (diff) | |
download | nixpkgs-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/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/binaryBuild.nix | 1 |
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 |