anchor.diff:    ];
   
     postPatch = ''
  -    patchShebangs .
  +    patchShebangs \
  +      libfwupd/generate-version-script.py \
  +      meson_post_install.sh \
  +      po/make-images \
  +      po/make-images.sh \
  +      po/test-deps
   
       # we cannot use placeholder in substituteAll
       # https://github.com/NixOS/nix/issues/1846
  
positive.code: 
    FONTCONFIG_FILE = fontsConf; # Fontconfig error: Cannot load default config file
  
    # TODO: wrapGAppsHook wraps efi capsule even though it is not elf
    dontWrapGApps = true;
    # so we need to wrap the executables manually
  
negative.code:       "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service"
        "pki/fwupd-metadata/LVFS-CA.pem"
      ];
  
      tests = {
        installedTests = nixosTests.fwupd;
      };
    };
  
    meta = with stdenv.lib; {
      homepage = https://fwupd.org/;
      maintainers = with maintainers; [ jtojnar ];
      license = [ licenses.gpl2 ];
      platforms = platforms.linux;
    };
  