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/dmraid | |
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/dmraid')
-rw-r--r-- | pkgs/os-specific/linux/dmraid/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/dmraid/default.nix b/pkgs/os-specific/linux/dmraid/default.nix index c1e0dfc5ae4..3a6f31fa552 100644 --- a/pkgs/os-specific/linux/dmraid/default.nix +++ b/pkgs/os-specific/linux/dmraid/default.nix @@ -1,10 +1,11 @@ { lib, stdenv, fetchurl, fetchpatch, lvm2 }: stdenv.mkDerivation rec { - name = "dmraid-1.0.0.rc16"; + pname = "dmraid"; + version = "1.0.0.rc16"; src = fetchurl { - url = "https://people.redhat.com/~heinzm/sw/dmraid/src/old/${name}.tar.bz2"; + url = "https://people.redhat.com/~heinzm/sw/dmraid/src/old/dmraid-${version}.tar.bz2"; sha256 = "0m92971gyqp61darxbiri6a48jz3wq3gkp8r2k39320z0i6w8jgq"; }; |