mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03: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 New Issue
Block a user