1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/os-specific/linux/lvm2/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

14 lines
461 B
Nix

{stdenv, fetchurl, devicemapper, static ? false}:
stdenv.mkDerivation {
name = "lvm2-2.02.38";
src = fetchurl {
url = ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.38.tgz;
sha256 = "13nx6iqgga3ric51b36p15cxzhmh83s7spb2559iz3s24x4s0845";
};
buildInputs = [devicemapper];
configureFlags = if static then "--enable-static_link" else "";
# To prevent make install from failing.
preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
}