anchor.diff:        libdrm wayland mesa.drivers libxkbcommon
         curl
         libepoxy
  -    ] ++ optionals gnomeSupport [ gnome2.GConf libgcrypt ]
  +    ] ++ optional systemdSupport systemd
  +      ++ optionals gnomeSupport [ gnome2.GConf libgcrypt ]
         ++ optional gnomeKeyringSupport libgnome-keyring3
         ++ optionals cupsSupport [ libgcrypt cups ]
         ++ optional pulseSupport libpulseaudio;
  
positive.code: , ungoogled ? false, ungoogled-chromium
  # Optional dependencies:
  , libgcrypt ? null # gnomeSupport || cupsSupport
  }:
  
  buildFun:
  
negative.code:       sed -i -e 's@"\(#!\)\?.*xdg-@"\1${xdg-utils}/bin/xdg-@' \
          chrome/browser/shell_integration_linux.cc
  
      '' + lib.optionalString systemdSupport ''
        sed -i -e '/lib_loader.*Load/s!"\(libudev\.so\)!"${lib.getLib systemd}/lib/\1!' \
          device/udev_linux/udev?_loader.cc
      '' + ''
        sed -i -e '/libpci_loader.*Load/s!"\(libpci\.so\)!"${pciutils}/lib/\1!' \
          gpu/config/gpu_info_collector_linux.cc
  
  