systemd: add withShellCompletions flag

wip/yesman
Florian Klink 4 years ago
parent 1f9347431c
commit f142493a6a
  1. 4
      pkgs/os-specific/linux/systemd/default.nix
  2. 1
      pkgs/top-level/all-packages.nix

@ -69,6 +69,7 @@
, withPolkit ? true
, withRemote ? false # has always been disabled on NixOS, upstream version appears broken anyway
, withResolved ? true
, withShellCompletions ? true
, withTimedated ? true
, withTimesyncd ? true
@ -278,6 +279,9 @@ stdenv.mkDerivation {
"-Defi-libdir=${toString gnu-efi}/lib"
"-Defi-includedir=${toString gnu-efi}/include/efi"
"-Defi-ldsdir=${toString gnu-efi}/lib"
] ++ lib.optionals (withShellCompletions == false) [
"-Dbashcompletiondir=no"
"-Dzshcompletiondir=no"
];
preConfigure = ''

@ -18675,6 +18675,7 @@ in
withNetworkd = false;
withPolkit = false;
withResolved = false;
withShellCompletions = false;
withTimedated = false;
glib = null;
libgcrypt = null;

Loading…
Cancel
Save