Use ${stdenv.shell} instead of hardcoded /bin/sh

This commit is contained in:
Roman Kuznetsov 2017-07-01 23:13:52 +02:00
parent 87c93fb8ee
commit bdc99c82f0

View File

@ -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
'';