nixpkgs-suyu/pkgs/os-specific/linux/device-mapper/default.nix
Eelco Dolstra a9d19f45db * A function `useKlibc' to build a package using klibc as the C
library.
* Removed devicemapperStatic, e2fsprogsDiet, lvm2Static since they're
  redundant (it's what you get when you use pkgsDiet/pkgsStatic).

svn path=/nixpkgs/trunk/; revision=12554
2008-08-08 19:05:32 +00:00

12 lines
394 B
Nix

{stdenv, fetchurl}:
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 stdenv ? isStatic then "--enable-static_link" else "";
# To prevent make install from failing.
installFlags = "OWNER= GROUP=";
}