anchor.diff:      "-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)}"
  +    "-Dglib=${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}"
  +    "-Dimportd=${lib.boolToString withImportd}"
       "-Dlz4=true"
       "-Dhomed=false"
  -    "-Dlogind=${stdenv.lib.boolToString withLogind}"
  -    "-Dlocaled=${stdenv.lib.boolToString withLocaled}"
  -    "-Dhostnamed=${stdenv.lib.boolToString withHostnamed}"
  -    "-Dnetworkd=${stdenv.lib.boolToString withNetworkd}"
  -    "-Dcryptsetup=${stdenv.lib.boolToString withCryptsetup}"
  +    "-Dlogind=${lib.boolToString withLogind}"
  +    "-Dlocaled=${lib.boolToString withLocaled}"
  +    "-Dhostnamed=${lib.boolToString withHostnamed}"
  +    "-Dnetworkd=${lib.boolToString withNetworkd}"
  +    "-Dcryptsetup=${lib.boolToString withCryptsetup}"
       "-Dportabled=false"
  -    "-Dhwdb=${stdenv.lib.boolToString withHwdb}"
  +    "-Dhwdb=${lib.boolToString withHwdb}"
       "-Dremote=false"
       "-Dsysusers=false"
  -    "-Dtimedated=${stdenv.lib.boolToString withTimedated}"
  -    "-Dtimesyncd=${stdenv.lib.boolToString withTimesyncd}"
  +    "-Dtimedated=${lib.boolToString withTimedated}"
  +    "-Dtimesyncd=${lib.boolToString withTimesyncd}"
       "-Dfirstboot=false"
       "-Dlocaled=true"
  -    "-Dresolve=${stdenv.lib.boolToString withResolved}"
  +    "-Dresolve=${lib.boolToString withResolved}"
       "-Dsplit-usr=false"
       "-Dlibcurl=true"
       "-Dlibidn=false"
  
positive.code:   # runtime; otherwise we can't and we need to reboot.
    passthru.interfaceVersion = 2;
  
    meta = with stdenv.lib; {
      homepage = "https://www.freedesktop.org/wiki/Software/systemd/";
      description = "A system and service manager for Linux";
      license = licenses.lgpl21Plus;
  
negative.code:     # more frequent development builds
      "-Dman=true"
  
      "-Dgnu-efi=${lib.boolToString (withEfi && gnu-efi != null)}"
    ] ++ lib.optionals (withEfi && gnu-efi != null) [
      "-Defi-libdir=${toString gnu-efi}/lib"
      "-Defi-includedir=${toString gnu-efi}/include/efi"
      "-Defi-ldsdir=${toString gnu-efi}/lib"
  