diff options
author | Andrew Marshall <andrew@johnandrewmarshall.com> | 2021-10-29 12:27:58 -0400 |
---|---|---|
committer | Andrew Marshall <andrew@johnandrewmarshall.com> | 2021-10-29 12:39:48 -0400 |
commit | 365f3a591876b6748756b810c693f6c6d4a23e50 (patch) | |
tree | 301ff23eee29fe6bb2d419e259d524fb6db9ffb1 /pkgs/tools/security/mkpasswd | |
parent | bbf70ca393f9c2e3029b6a875b9aafbe23c7ea77 (diff) | |
download | nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar.gz nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar.bz2 nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar.lz nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar.xz nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.tar.zst nixpkgs-365f3a591876b6748756b810c693f6c6d4a23e50.zip |
mkpasswd: Prefer inherit
Diffstat (limited to 'pkgs/tools/security/mkpasswd')
-rw-r--r-- | pkgs/tools/security/mkpasswd/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/security/mkpasswd/default.nix b/pkgs/tools/security/mkpasswd/default.nix index 23a8f5d4fbd..6064a80d6cd 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"; |