nixpkgs/pkgs/tools/system/lxc/default.nix
Peter Simons 027f42695c The lxc package doesn't build on systems other than Linux.
svn path=/nixpkgs/trunk/; revision=24608
2010-11-05 14:49:42 +00:00

26 lines
563 B
Nix

{stdenv, fetchurl, libcap}:
stdenv.mkDerivation rec{
name = "lxc-0.7.3";
src = fetchurl {
url = "mirror://sourceforge/lxc/${name}.tar.gz";
sha256 = "02fs90gj8vc3sls2kknqhdv8nk7r2k85slx8x8slfz4vnz6jhfzs";
};
patchPhase = ''
sed -i -e '/ldconfig/d' src/lxc/Makefile.in
'';
configureFlags = [ "--localstatedir=/var" ];
buildInputs = [ libcap ];
meta = {
homepage = http://lxc.sourceforge.net;
description = "lxc Linux Containers userland tools";
license = "LGPLv2.1+";
platforms = stdenv.lib.platforms.linux;
};
}