anchor.diff:      "--localstatedir=/var"
       "--sysconfdir=/etc"
       "-Dsysconfdir_install=${placeholder "out"}/etc"
  +  ] ++ stdenv.lib.optionals (!haveDell) [
  +    "-Dplugin_dell=false"
  +    "-Dplugin_synaptics=false"
  +  ] ++ stdenv.lib.optionals (!haveRedfish) [
  +    "-Dplugin_redfish=false"
  +  ] ++ stdenv.lib.optionals (!haveFlashrom) [
  +    "-Dplugin_flashrom=false"
     ];
   
     # TODO: We need to be able to override the directory flags from meson setup hook
  
positive.code:   # /etc/os-release not available in sandbox
    # doCheck = true;
  
    preFixup = ''
      gappsWrapperArgs+=(
        --prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
        # See programs reached with fu_common_find_program_in_path in source
        --prefix PATH : "${stdenv.lib.makeBinPath [ flashrom efibootmgr bubblewrap tpm2-tools ]}"
      )
    '';
  
  
negative.code:   fontsConf = makeFontsConf {
      fontDirectories = [ freefont_ttf ];
    };
  
    isx86 = stdenv.isx86_64 || stdenv.isi686;
  
    # Dell isn't supported on Aarch64
    haveDell = isx86;
  
    # only redfish for x86_64
    haveRedfish = stdenv.isx86_64;
  
    # Currently broken on Aarch64
    haveFlashrom = isx86;
  
  in stdenv.mkDerivation rec {
    pname = "fwupd";
    version = "1.2.8";
  