mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
systemd: add withNss flag
This commit is contained in:
parent
a079a6f026
commit
8526662a33
@ -67,6 +67,7 @@
|
||||
, withLocaled ? true
|
||||
, withLogind ? true
|
||||
, withNetworkd ? true
|
||||
, withNss ? true
|
||||
, withPolkit ? true
|
||||
, withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway
|
||||
, withResolved ? true
|
||||
@ -285,6 +286,11 @@ stdenv.mkDerivation {
|
||||
] ++ lib.optionals (withShellCompletions == false) [
|
||||
"-Dbashcompletiondir=no"
|
||||
"-Dzshcompletiondir=no"
|
||||
] ++ lib.optionals (!withNss) [
|
||||
"-Dnss-myhostname=false"
|
||||
"-Dnss-mymachines=false"
|
||||
"-Dnss-resolve=false"
|
||||
"-Dnss-systemd=false"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -18674,6 +18674,7 @@ in
|
||||
withLocaled = false;
|
||||
withLogind = false;
|
||||
withNetworkd = false;
|
||||
withNss = false;
|
||||
withPolkit = false;
|
||||
withResolved = false;
|
||||
withShellCompletions = false;
|
||||
|
Loading…
Reference in New Issue
Block a user