about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoman Kuznetsov <roman@kuznero.com>2017-07-01 23:13:52 +0200
committerRoman Kuznetsov <roman@kuznero.com>2017-07-01 23:13:52 +0200
commitbdc99c82f08856dca0bb83a10bea49078b24fe1e (patch)
treed053f230ea5ec9f1754d88bb843f6e43092e4055
parent87c93fb8ee28444d085e8b29364834e0f78a37a9 (diff)
downloadnixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar.gz
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar.bz2
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar.lz
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar.xz
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.tar.zst
nixlib-bdc99c82f08856dca0bb83a10bea49078b24fe1e.zip
Use ${stdenv.shell} instead of hardcoded /bin/sh
-rw-r--r--pkgs/development/compilers/mono/generic-cmake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/mono/generic-cmake.nix b/pkgs/development/compilers/mono/generic-cmake.nix
index 71cafe2cca21..ab232f07d1b2 100644
--- a/pkgs/development/compilers/mono/generic-cmake.nix
+++ b/pkgs/development/compilers/mono/generic-cmake.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
   ];
 
   configurePhase = ''
-    substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "/bin/sh"
+    substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "${stdenv.shell}"
     ./autogen.sh --prefix $out
   '';