diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-27 16:21:24 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-27 17:54:21 +0200 |
commit | 051fcdbe8b4070f4e6796cb5c27b0cc4456d2863 (patch) | |
tree | 7ea2eb757ad3a861b98a05524091f07eb945dd01 /pkgs/tools/system/fdisk | |
parent | 5ecd15039104f7f91ac4f2eb2af93835df80b91e (diff) |
tools/{security/system}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/system/fdisk')
-rw-r--r-- | pkgs/tools/system/fdisk/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/fdisk/default.nix b/pkgs/tools/system/fdisk/default.nix index 4ad654783dfcd..e12fedd6eec99 100644 --- a/pkgs/tools/system/fdisk/default.nix +++ b/pkgs/tools/system/fdisk/default.nix @@ -1,10 +1,11 @@ { fetchurl, lib, stdenv, parted, libuuid, gettext, guile }: stdenv.mkDerivation rec { - name = "gnufdisk-2.0.0a"; # .0a1 seems broken, see https://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html + pname = "gnufdisk"; + version = "2.0.0a"; # .0a1 seems broken, see https://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html src = fetchurl { - url = "mirror://gnu/fdisk/${name}.tar.gz"; + url = "mirror://gnu/fdisk/gnufdisk-${version}.tar.gz"; sha256 = "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3"; }; |