libndctl: put which in nativeBuildInputs

This commit is contained in:
Michael Eden 2019-03-20 16:37:02 -04:00
parent 5b00f65402
commit c3c9541fc2

View File

@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs =
[ autoreconfHook asciidoctor pkgconfig xmlto docbook_xml_dtd_45 docbook_xsl libxslt
which
];
buildInputs =
@ -31,7 +32,6 @@ stdenv.mkDerivation rec {
patchPhase = ''
patchShebangs test
substituteInPlace configure.ac --replace "which" "${which}/bin/which"
substituteInPlace git-version --replace /bin/bash ${stdenv.shell}
substituteInPlace git-version-gen --replace /bin/sh ${stdenv.shell}