nixpkgs/pkgs/os-specific/linux/device-mapper/default.nix
Eelco Dolstra fdb399ead1 * Latest device-mapper / lvm2. This fixes problems with LVM
not detecting any volume groups on recent kernels.

svn path=/nixpkgs/trunk/; revision=12126
2008-06-16 19:43:30 +00:00

13 lines
399 B
Nix

{stdenv, fetchurl, static ? false}:
stdenv.mkDerivation {
name = "device-mapper-1.02.26";
src = fetchurl {
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.26.tgz;
sha256 = "0x905frw06s6k5p1rlc2hbgaphgalinarbdg82664sri0qmbkrfv";
};
configureFlags = if static then "--enable-static_link" else "";
# To prevent make install from failing.
installFlags = "OWNER= GROUP=";
}