Skip to content

Commit

Permalink
Merge pull request #58047 from illegalprime/libndctl-cross
Browse files Browse the repository at this point in the history
libndctl: use buildPackages.which
  • Loading branch information
matthewbauer authored Mar 26, 2019
2 parents 38a89c8 + c3c9541 commit 1ca86b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libndctl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs =
[ autoreconfHook asciidoctor pkgconfig xmlto docbook_xml_dtd_45 docbook_xsl libxslt
which
];

buildInputs =
Expand All @@ -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}
Expand Down

0 comments on commit 1ca86b4

Please sign in to comment.