From 58ef5957e266f04dd02541b5d615e5c286f2eb0e Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 3 Feb 2018 13:57:57 +0200 Subject: 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. --- pkgs/development/compilers/rust/binaryBuild.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs') 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 -- cgit 1.4.1