LXC: make sure configure script does not guess

Do not try to install init script.
And do not make any assumptions about the distribution.

The latter is important when Nix store in not a part of NixOS.

Closes #11729.
This commit is contained in:
Igor Pashev 2015-12-16 15:11:24 +03:00
parent 98151e0691
commit a911acdfb3

View File

@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
"--sysconfdir=/etc"
"--enable-doc"
"--disable-api-docs"
"--with-init-script=none"
"--with-distro=nixos" # just to be sure it is "unknown"
] ++ optional (libapparmor != null) "--enable-apparmor"
++ optional (libselinux != null) "--enable-selinux"
++ optional (libseccomp != null) "--enable-seccomp"