libndctl: fix tests

This commit is contained in:
Jan Malakhovski 2018-08-07 12:55:32 +00:00
parent dc3d45500a
commit 917e3aeeb4

View File

@ -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}