Merge pull request #54094 from rnhmjoj/shell

treewide: use ${stdenv.shell} instead of /bin/sh where possible
This commit is contained in:
Frederik Rietdijk
2019-01-19 14:15:51 +01:00
committed by GitHub
92 changed files with 156 additions and 120 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cp ./libflockit.so $out/lib
(cat <<EOI
#!/bin/sh
#!${stdenv.shell}
env LD_PRELOAD="$out/lib/libflockit.so" FLOCKIT_FILE_PREFIX=\$1 \''${@:2}
EOI
) > $out/bin/flockit
+1 -1
View File
@@ -9,7 +9,7 @@
# known impurity: test cases seem to bu using /tmp/storeBackup.lock ..
let dummyMount = writeScriptBin "mount" "#!/bin/sh";
let dummyMount = writeScriptBin "mount" "#!${stdenv.shell}";
in
stdenv.mkDerivation rec {