Merge pull request #58047 from illegalprime/libndctl-cross
libndctl: use buildPackages.which
This commit is contained in:
commit
1ca86b4056
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user