diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index da99280f63b8..f1da382bfa56 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -143,6 +143,7 @@ in stdenv.mkDerivation { "-Dsetfont-path=${kbd}/bin/setfont" "-Dtty-gid=3" # tty in NixOS has gid 3 "-Ddebug-shell=${bashInteractive}/bin/bash" + "-Dglib=${stdenv.lib.boolToString (glib != null)}" # while we do not run tests we should also not build them. Removes about 600 targets "-Dtests=false" "-Dimportd=${stdenv.lib.boolToString withImportd}" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c801d335ab90..1838908b1dd4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18660,6 +18660,7 @@ in withImportd = false; withCryptsetup = false; cryptsetup = null; + glib = null; lvm2 = null; };