anchor.diff:      maintainers = with maintainers; [ jtojnar ];
       platforms = platforms.linux;
     };
  -}
  +})
  
positive.code:   passthru = {
      tests = {
        installedTests = nixosTests.installed-tests.xdg-desktop-portal;
      };
    };
  
  
negative.code: 
    src = fetchFromGitHub {
      owner = "flatpak";
      repo = "xdg-desktop-portal";
      rev = finalAttrs.version;
      sha256 = "sha256-Kw3zJeGwPfw1fDo8HsgYmrpgCk/PUvWZPRloKJNAJVc=";
    };
  
    patches = [
      # The icon validator copied from Flatpak needs to access the gdk-pixbuf loaders
      # in the Nix store and cannot bind FHS paths since those are not available on NixOS.
      (runCommand "icon-validator.patch" { } ''
        # Flatpak uses a different path
        substitute "${flatpak.icon-validator-patch}" "$out" \
          --replace "/icon-validator/validate-icon.c" "/src/validate-icon.c"
      '')
    ];
  
    nativeBuildInputs = [
      autoreconfHook
  