diff options
author | xeji <xeji@cat3.de> | 2018-03-27 01:24:46 +0200 |
---|---|---|
committer | xeji <xeji@cat3.de> | 2018-03-27 01:24:46 +0200 |
commit | eb828c68317908bf044a2110fc1625d47893edcc (patch) | |
tree | 812df83a789c754b62833c05d65fc14a4460794d /pkgs/os-specific/linux/systemd/default.nix | |
parent | f7fe3f51840d6d978cb644ce209ce3466de480eb (diff) | |
download | nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar.gz nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar.bz2 nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar.lz nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar.xz nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.tar.zst nixpkgs-eb828c68317908bf044a2110fc1625d47893edcc.zip |
systemd: add withSelinux option
false by default, so no rebuild
Diffstat (limited to 'pkgs/os-specific/linux/systemd/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index a792283e70e..d0f35d6736d 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -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; |