systemd: add withShellCompletions flag
This commit is contained in:
parent
1f9347431c
commit
f142493a6a
2 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
||||||
, 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
|
||||||
|
, withShellCompletions ? true
|
||||||
, withTimedated ? true
|
, withTimedated ? true
|
||||||
, withTimesyncd ? true
|
, withTimesyncd ? true
|
||||||
|
|
||||||
|
@ -278,6 +279,9 @@ stdenv.mkDerivation {
|
||||||
"-Defi-libdir=${toString gnu-efi}/lib"
|
"-Defi-libdir=${toString gnu-efi}/lib"
|
||||||
"-Defi-includedir=${toString gnu-efi}/include/efi"
|
"-Defi-includedir=${toString gnu-efi}/include/efi"
|
||||||
"-Defi-ldsdir=${toString gnu-efi}/lib"
|
"-Defi-ldsdir=${toString gnu-efi}/lib"
|
||||||
|
] ++ lib.optionals (withShellCompletions == false) [
|
||||||
|
"-Dbashcompletiondir=no"
|
||||||
|
"-Dzshcompletiondir=no"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|
|
@ -18675,6 +18675,7 @@ in
|
||||||
withNetworkd = false;
|
withNetworkd = false;
|
||||||
withPolkit = false;
|
withPolkit = false;
|
||||||
withResolved = false;
|
withResolved = false;
|
||||||
|
withShellCompletions = false;
|
||||||
withTimedated = false;
|
withTimedated = false;
|
||||||
glib = null;
|
glib = null;
|
||||||
libgcrypt = null;
|
libgcrypt = null;
|
||||||
|
|
Loading…
Reference in a new issue