summary refs log tree commit diff
path: root/pkgs/tools/misc/grub/2.0x.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2019-01-15 23:41:31 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-01-16 20:37:15 +0100
commitbcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183 (patch)
tree26aef5b71509a26f7986e6cf9928b7687c21787d /pkgs/tools/misc/grub/2.0x.nix
parent3956a8421f2d78bc66ad9d3c23a3b5510bc695be (diff)
downloadnixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.gz
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.bz2
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.lz
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.xz
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.tar.zst
nixpkgs-bcf54ce5bbc8c325cfd2b6bcc5cec7661ef49183.zip
treewide: use ${stdenv.shell} instead of /bin/sh where possible
Diffstat (limited to 'pkgs/tools/misc/grub/2.0x.nix')
-rw-r--r--pkgs/tools/misc/grub/2.0x.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix
index d5079750859..2a8734822ac 100644
--- a/pkgs/tools/misc/grub/2.0x.nix
+++ b/pkgs/tools/misc/grub/2.0x.nix
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
   preConfigure =
     '' for i in "tests/util/"*.in
        do
-         sed -i "$i" -e's|/bin/bash|/bin/sh|g'
+         sed -i "$i" -e's|/bin/bash|${stdenv.shell}|g'
        done
 
        # Apparently, the QEMU executable is no longer called