3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/device-mapper/default.nix
Eelco Dolstra 64c003f97f * Partially reverted r12554: don't build devicemapper and lvm2 with
makeStaticBinaries, because it stubbornly tries to build dynamic
  libraries as well.

svn path=/nixpkgs/trunk/; revision=12633
2008-08-15 14:14:55 +00:00

18 lines
442 B
Nix

{stdenv, fetchurl, enableStatic ? true}:
stdenv.mkDerivation {
name = "device-mapper-1.02.27";
src = fetchurl {
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.27.tgz;
sha256 = "1z4dldjjxfinwvg39x4m2cm5rcsbxs833g3phm34f5a2lwh7i6v6";
};
inherit enableStatic;
configureFlags = if enableStatic then "--enable-static_link" else "";
# To prevent make install from failing.
installFlags = "OWNER= GROUP=";
}