diff options
author | Robin Gloster <robin@loc-com.de> | 2015-05-17 12:50:01 +0200 |
---|---|---|
committer | Robin Gloster <robin@loc-com.de> | 2015-06-19 14:34:09 +0200 |
commit | 45be5244a4b060413b1e1337309ce0fcfaa21ca6 (patch) | |
tree | 50ca1c9cee295120f62c2226975e398010efd1e3 /pkgs/os-specific/linux/lxc | |
parent | ffb70f9c51b35bf7a66f5daa20345bad7b97f4c1 (diff) | |
download | nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar.gz nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar.bz2 nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar.lz nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar.xz nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.tar.zst nixlib-45be5244a4b060413b1e1337309ce0fcfaa21ca6.zip |
Wrap the python scripts in lxc
Diffstat (limited to 'pkgs/os-specific/linux/lxc')
-rw-r--r-- | pkgs/os-specific/linux/lxc/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index 8115aa1055be..1c6847cce822 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, perl, docbook2x -, docbook_xml_dtd_45, systemd +, docbook_xml_dtd_45, systemd, wrapPython , libapparmor ? null, gnutls ? null, libseccomp ? null, cgmanager ? null -, libnih ? null, dbus ? null, libcap ? null +, libnih ? null, dbus ? null, libcap ? null, python3 ? null }: let @@ -20,7 +20,8 @@ stdenv.mkDerivation rec { buildInputs = [ autoreconfHook pkgconfig perl docbook2x systemd - libapparmor gnutls libseccomp cgmanager libnih dbus libcap + libapparmor gnutls libseccomp cgmanager libnih dbus libcap python3 + wrapPython ]; patches = [ ./support-db2x.patch ]; @@ -49,6 +50,8 @@ stdenv.mkDerivation rec { "LXCPATH=\${TMPDIR}/var/lib/lxc" ]; + postInstall = "wrapPythonPrograms"; + meta = { homepage = "http://lxc.sourceforge.net"; description = "userspace tools for Linux Containers, a lightweight virtualization system"; @@ -63,6 +66,6 @@ stdenv.mkDerivation rec { ''; platforms = platforms.linux; - maintainers = with maintainers; [ simons wkennington ]; + maintainers = with maintainers; [ simons wkennington globin ]; }; } |