diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-12-03 08:52:48 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-12-03 08:52:48 +0100 |
commit | 82a0381340875beeaf2bcb0411f9139f983bb026 (patch) | |
tree | 7790627a36f74536eadce2f311f6bae30c6e209a | |
parent | 3a19b028187f7974d259bafc86d2d740972920e6 (diff) |
mtools: Switch to pname, version
-rw-r--r-- | pkgs/tools/filesystems/mtools/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/filesystems/mtools/default.nix b/pkgs/tools/filesystems/mtools/default.nix index d2930598c35a1..5f78b3c379d2d 100644 --- a/pkgs/tools/filesystems/mtools/default.nix +++ b/pkgs/tools/filesystems/mtools/default.nix @@ -1,10 +1,11 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - name = "mtools-4.0.26"; + pname = "mtools"; + version = "4.0.26"; src = fetchurl { - url = "mirror://gnu/mtools/${name}.tar.bz2"; + url = "mirror://gnu/mtools/${pname}-${version}.tar.bz2"; sha256 = "06pabnjc4r2vv3dzfm6q97g6jbp2k5bhmcdwv2cf25ka8y5ir7sk"; }; |