From bdc99c82f08856dca0bb83a10bea49078b24fe1e Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Sat, 1 Jul 2017 23:13:52 +0200 Subject: [PATCH] Use ${stdenv.shell} instead of hardcoded /bin/sh --- pkgs/development/compilers/mono/generic-cmake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '';