libndctl: fix tests

This commit is contained in:
Jan Malakhovski
2018-08-11 09:35:19 +00:00
parent dc3d45500a
commit 917e3aeeb4
@@ -31,6 +31,10 @@ in stdenv.mkDerivation rec {
}) })
]; ];
postPatch = ''
patchShebangs test
'';
preAutoreconf = '' preAutoreconf = ''
substituteInPlace configure.ac --replace "which" "${which}/bin/which" substituteInPlace configure.ac --replace "which" "${which}/bin/which"
substituteInPlace git-version --replace /bin/bash ${stdenv.shell} substituteInPlace git-version --replace /bin/bash ${stdenv.shell}