systemd: add withSelinux option
false by default, so no rebuild
This commit is contained in:
parent
f7fe3f5184
commit
eb828c6831
|
@ -10,6 +10,7 @@
|
||||||
, getent
|
, getent
|
||||||
, hostPlatform
|
, hostPlatform
|
||||||
, buildPackages
|
, buildPackages
|
||||||
|
, withSelinux ? false, libselinux
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
@ -44,7 +45,7 @@ in stdenv.mkDerivation rec {
|
||||||
iptables gnu-efi
|
iptables gnu-efi
|
||||||
# This is actually native, but we already pull it from buildPackages
|
# This is actually native, but we already pull it from buildPackages
|
||||||
pythonLxmlEnv
|
pythonLxmlEnv
|
||||||
];
|
] ++ stdenv.lib.optionals withSelinux [ libselinux ];
|
||||||
|
|
||||||
#dontAddPrefix = true;
|
#dontAddPrefix = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user