diff options
Diffstat (limited to 'pkgs/os-specific/linux/device-mapper')
-rw-r--r-- | pkgs/os-specific/linux/device-mapper/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/device-mapper/default.nix b/pkgs/os-specific/linux/device-mapper/default.nix index c8e52a43d11..d17cebe3fd5 100644 --- a/pkgs/os-specific/linux/device-mapper/default.nix +++ b/pkgs/os-specific/linux/device-mapper/default.nix @@ -1,12 +1,17 @@ -{stdenv, fetchurl}: +{stdenv, fetchurl, enableStatic ? true}: stdenv.mkDerivation { - name = "device-mapper-1.02.26"; + name = "device-mapper-1.02.27"; + src = fetchurl { - url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.26.tgz; - sha256 = "0x905frw06s6k5p1rlc2hbgaphgalinarbdg82664sri0qmbkrfv"; + url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.27.tgz; + sha256 = "1z4dldjjxfinwvg39x4m2cm5rcsbxs833g3phm34f5a2lwh7i6v6"; }; - configureFlags = if stdenv ? isStatic then "--enable-static_link" else ""; + + inherit enableStatic; + + configureFlags = if enableStatic then "--enable-static_link" else ""; + # To prevent make install from failing. installFlags = "OWNER= GROUP="; } |