diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-27 16:47:49 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-29 11:28:34 +0200 |
commit | 540499bf10a42e65146655583560dffc54cc5556 (patch) | |
tree | 255257551bc76ed34a8162c0cc9fd38870b24c13 /pkgs/os-specific/linux/mingetty | |
parent | 6e4706d62aa401dbe5e137100e0ef8710a59ff6c (diff) | |
download | nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.gz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.bz2 nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.lz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.xz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.zst nixpkgs-540499bf10a42e65146655583560dffc54cc5556.zip |
os-specific/linux: replace name with pname&version
Diffstat (limited to 'pkgs/os-specific/linux/mingetty')
-rw-r--r-- | pkgs/os-specific/linux/mingetty/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/mingetty/default.nix b/pkgs/os-specific/linux/mingetty/default.nix index 8a2cf69dd36..eb58dc55367 100644 --- a/pkgs/os-specific/linux/mingetty/default.nix +++ b/pkgs/os-specific/linux/mingetty/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl }: -stdenv.mkDerivation { - name = "mingetty-1.08"; +stdenv.mkDerivation rec { + pname = "mingetty"; + version = "1.08"; src = fetchurl { - url = "mirror://sourceforge/mingetty/mingetty-1.08.tar.gz"; + url = "mirror://sourceforge/mingetty/mingetty-${version}.tar.gz"; sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g"; }; |