diff --git a/pkgs/tools/security/mkpasswd/default.nix b/pkgs/tools/security/mkpasswd/default.nix index 23a8f5d4fbd7..6064a80d6cd5 100644 --- a/pkgs/tools/security/mkpasswd/default.nix +++ b/pkgs/tools/security/mkpasswd/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, whois, libxcrypt, perl, pkg-config }: stdenv.mkDerivation { - name = "mkpasswd-${whois.version}"; - - src = whois.src; + pname = "mkpasswd"; + inherit (whois) version; + inherit (whois) src; nativeBuildInputs = [ perl pkg-config ]; buildInputs = [ libxcrypt ]; - preConfigure = whois.preConfigure; + inherit (whois) preConfigure; buildPhase = "make mkpasswd"; installPhase = "make install-mkpasswd";