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