git.iko.soy/typeable/nixpkgs
on master help sign in
systemd: add withSelinux option

false by default, so no rebuild

commiteb828c68317908bf044a2110fc1625d47893edcc authorxeji <xeji@cat3.de> dateTue 27 Mar 2018, 01:24 (9 years ago) parentf7fe3f5
1 file changed+2−1
pkgs/os-specific/linux/systemd/default.nix+2−1
pkgs/os-specific/linux/systemd/default.nix+2−1
@@ -10,6 +10,7 @@
1010, getent
1111, hostPlatform
1212, buildPackages
13+, withSelinux ? false, libselinux
1314}:
1415
1516assert stdenv.isLinux;
@@ -44,7 +45,7 @@ in stdenv.mkDerivation rec {
4445 iptables gnu-efi
4546 # This is actually native, but we already pull it from buildPackages
4647 pythonLxmlEnv
47− ];
48+ ] ++ stdenv.lib.optionals withSelinux [ libselinux ];
4849
4950 #dontAddPrefix = true;
5051