systemd: add withNss flag
This commit is contained in:
parent
a079a6f026
commit
8526662a33
2 changed files with 7 additions and 0 deletions
|
@ -67,6 +67,7 @@
|
||||||
, withLocaled ? true
|
, withLocaled ? true
|
||||||
, withLogind ? true
|
, withLogind ? true
|
||||||
, withNetworkd ? true
|
, withNetworkd ? true
|
||||||
|
, withNss ? true
|
||||||
, withPolkit ? true
|
, withPolkit ? true
|
||||||
, withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway
|
, withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway
|
||||||
, withResolved ? true
|
, withResolved ? true
|
||||||
|
@ -285,6 +286,11 @@ stdenv.mkDerivation {
|
||||||
] ++ lib.optionals (withShellCompletions == false) [
|
] ++ lib.optionals (withShellCompletions == false) [
|
||||||
"-Dbashcompletiondir=no"
|
"-Dbashcompletiondir=no"
|
||||||
"-Dzshcompletiondir=no"
|
"-Dzshcompletiondir=no"
|
||||||
|
] ++ lib.optionals (!withNss) [
|
||||||
|
"-Dnss-myhostname=false"
|
||||||
|
"-Dnss-mymachines=false"
|
||||||
|
"-Dnss-resolve=false"
|
||||||
|
"-Dnss-systemd=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
@ -18674,6 +18674,7 @@ in
|
||||||
withLocaled = false;
|
withLocaled = false;
|
||||||
withLogind = false;
|
withLogind = false;
|
||||||
withNetworkd = false;
|
withNetworkd = false;
|
||||||
|
withNss = false;
|
||||||
withPolkit = false;
|
withPolkit = false;
|
||||||
withResolved = false;
|
withResolved = false;
|
||||||
withShellCompletions = false;
|
withShellCompletions = false;
|
||||||
|
|
Loading…
Reference in a new issue