mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
buildRustPackage: fix erroneous /bin/sh reference
The fetch-cargo-deps script is written in bash syntax, but it erroneously ran under the /bin/sh interpreter. This wasn't noticed because /bin/sh is actually bash in NixOS, but on some other systems this is not true.
This commit is contained in:
parent
2cba327feb
commit
777c9c3768
|
@ -1,5 +1,3 @@
|
|||
#! /bin/sh
|
||||
|
||||
source $stdenv/setup
|
||||
|
||||
set -euo pipefail
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
phases = "unpackPhase installPhase";
|
||||
|
||||
installPhase = ''
|
||||
${./fetch-cargo-deps} . "$out"
|
||||
bash ${./fetch-cargo-deps} . "$out"
|
||||
'';
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
|
|
Loading…
Reference in a new issue