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:
parent
98151e0691
commit
a911acdfb3
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user