Use ${stdenv.shell} instead of hardcoded /bin/sh
commitbdc99c82f08856dca0bb83a10bea49078b24fe1e
authorRoman Kuznetsov <roman@kuznero.com>
dateSat 1 Jul 2017, 23:13 (9 years ago)
parent87c93fb
pkgs/development/compilers/mono/generic-cmake.nix+1−1
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
3737 ];
3838
3939 configurePhase = ''
40− substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "/bin/sh"
40+ substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "${stdenv.shell}"
4141 ./autogen.sh --prefix $out
4242 '';
4343