diff options
author | László Vaskó <vlaci@balabit.hu> | 2019-05-21 09:01:48 +0200 |
---|---|---|
committer | László Vaskó <vlaci@balabit.hu> | 2019-05-21 20:18:43 +0200 |
commit | c3b6b00bcfdde5c02ddaf7f567bde76b5ac62d44 (patch) | |
tree | c8c548aff8680522332b3e5883bf0f5a178a0cb2 /pkgs/os-specific | |
parent | 3c66a05a7bfcc3530b04c422b8747fec7f1e6e55 (diff) |
multipath-tools: download URL points to tag for easier package updates
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/multipath-tools/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/multipath-tools/default.nix b/pkgs/os-specific/linux/multipath-tools/default.nix index 2ec74a2224384..14996fd76be53 100644 --- a/pkgs/os-specific/linux/multipath-tools/default.nix +++ b/pkgs/os-specific/linux/multipath-tools/default.nix @@ -1,11 +1,12 @@ { stdenv, fetchurl, lvm2, libaio, gzip, readline, systemd, liburcu }: stdenv.mkDerivation rec { - name = "multipath-tools-0.6.2"; + name = "multipath-tools-${version}"; + version = "0.6.2"; src = fetchurl { name = "${name}.tar.gz"; - url = "https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=e165b73a16fc9027aa3306df40052038c175be1b;sf=tgz"; + url = "https://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=${version};sf=tgz"; sha256 = "159hxvbk9kh1qay9x04w0gsqzg0hkl5yghfc1wi9kv2n5pcwbkpm"; }; |