Skip to content

Commit

Permalink
rust binary build: call patchShebangs on install.sh
Browse files Browse the repository at this point in the history
It failed on aarch64 otherwise. The #!/bin/sh inside/outside the sandbox
probably matters but I don't investigate more for now.
  • Loading branch information
dezgeg committed Feb 3, 2018
1 parent 3effd5b commit 58ef595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/rust/binaryBuild.nix
Expand Up @@ -91,6 +91,7 @@ rec {
buildInputs = [ makeWrapper ] ++ stdenv.lib.optional stdenv.isDarwin Security;

installPhase = ''
patchShebangs ./install.sh
./install.sh --prefix=$out \
--components=cargo
Expand Down

0 comments on commit 58ef595

Please sign in to comment.