anchor.diff:        "-Defi-libdir=${gnu-efi}/lib"
         "-Defi-ldsdir=${gnu-efi}/lib"
         "-Defi-includedir=${gnu-efi}/include/efi"
  +      "-Defi_sbat_distro_id=nixos"
  +      "-Defi_sbat_distro_summary=NixOS"
  +      "-Defi_sbat_distro_pkgname=fwupd"
  +      "-Defi_sbat_distro_version=${version}"
  +      "-Defi_sbat_distro_url=https://search.nixos.org/packages?channel=unstable&show=fwupd&from=0&size=50&sort=relevance&query=fwupd"
         "--localstatedir=/var"
         "--sysconfdir=/etc"
         "-Dsysconfdir_install=${placeholder "out"}/etc"
  
positive.code: 
    self = stdenv.mkDerivation rec {
      pname = "fwupd";
      # A regression is present in https://github.com/fwupd/fwupd/commit/fde4b1676a2c64e70bebd88f7720307c62635654
      # released with 1.5.6.
      # Fix for the regression: https://github.com/fwupd/fwupd/pull/2902
      # Maintainer says a new release is to be expected in a few days:
      #   https://twitter.com/hughsient/status/1362476792297185289
      # In the mean time, please do not release 1.5.6 and go strait to 1.5.7
      version = "1.5.5";
  
      # libfwupd goes to lib
      # daemon, plug-ins and libfwupdplugin go to out
  
negative.code:         contrib/get-version.py \
          contrib/generate-version-script.py \
          meson_post_install.sh \
          plugins/uefi-capsule/efi/generate_sbat.py \
          plugins/uefi-capsule/efi/generate_binary.py \
          po/make-images \
          po/make-images.sh \
          po/test-deps
  