about summary refs log tree commit diff
path: root/pkgs/development/libraries/libndctl/default.nix
diff options
context:
space:
mode:
authorMichael Eden <themichaeleden@gmail.com>2019-03-20 16:37:02 -0400
committerMichael Eden <themichaeleden@gmail.com>2019-03-25 14:59:09 -0400
commitc3c9541fc2d7d5327f5f558e90f6d78427c1f17e (patch)
treeb1363b732397f92c3fdbb965c53128b076d801ec /pkgs/development/libraries/libndctl/default.nix
parent5b00f65402ff18295a3bbab5bd6f98699a7a5e9f (diff)
libndctl: put which in nativeBuildInputs
Diffstat (limited to 'pkgs/development/libraries/libndctl/default.nix')
-rw-r--r--pkgs/development/libraries/libndctl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libndctl/default.nix b/pkgs/development/libraries/libndctl/default.nix
index 0a36b9bb2ddb3..ae12bd03813c7 100644
--- a/pkgs/development/libraries/libndctl/default.nix
+++ b/pkgs/development/libraries/libndctl/default.nix
@@ -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}