summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Marshall <andrew@johnandrewmarshall.com>2021-10-29 09:45:27 -0400
committerAndrew Marshall <andrew@johnandrewmarshall.com>2021-10-29 09:45:27 -0400
commit2fedb9734d017eb5081524ed53b73dc5584cfc73 (patch)
tree4ce0e633a7f62cfcb56af120bd2d13d9823aed1e
parent8f95862b6c6ac0e6505a16b7b140230b268fce1e (diff)
mkpasswd: Fix complaining about missing pkg-config
Before, when building, would output multiple times:

> sh: line 1: pkg-config: command not found
-rw-r--r--pkgs/tools/security/mkpasswd/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/mkpasswd/default.nix b/pkgs/tools/security/mkpasswd/default.nix
index e001239f3136e..c884c27900063 100644
--- a/pkgs/tools/security/mkpasswd/default.nix
+++ b/pkgs/tools/security/mkpasswd/default.nix
@@ -1,11 +1,11 @@
-{ lib, stdenv, whois, perl }:
+{ lib, stdenv, whois, perl, pkg-config }:
 
 stdenv.mkDerivation {
   name = "mkpasswd-${whois.version}";
 
   src = whois.src;
 
-  nativeBuildInputs = [ perl ];
+  nativeBuildInputs = [ perl pkg-config ];
 
   preConfigure = whois.preConfigure;
   buildPhase = "make mkpasswd";