anchor.diff: -{ stdenv, fetchurl, autoreconfHook, docbook_xml_dtd_412, docbook_xml_dtd_42, docbook_xml_dtd_43, docbook_xsl, which, libxml2
  -, gobject-introspection, gtk-doc, intltool, libxslt, pkgconfig, xmlto, appstream-glib, substituteAll, glibcLocales, yacc, xdg-dbus-proxy, p11-kit
  -, bubblewrap, bzip2, dbus, glib, gpgme, json-glib, libarchive, libcap, libseccomp, coreutils, gettext, hicolor-icon-theme, fuse, nixosTests
  -, libsoup, lzma, ostree, polkit, python3, systemd, xorg, valgrind, glib-networking, wrapGAppsHook, dconf, gsettings-desktop-schemas, librsvg }:
  +{ stdenv
  +, fetchurl
  +, autoreconfHook
  +, docbook_xml_dtd_412
  +, docbook_xml_dtd_42
  +, docbook_xml_dtd_43
  +, docbook_xsl
  +, which
  +, libxml2
  +, gobject-introspection
  +, gtk-doc
  +, intltool
  +, libxslt
  +, pkgconfig
  +, xmlto
  +, appstream-glib
  +, substituteAll
  +, glibcLocales
  +, yacc
  +, xdg-dbus-proxy
  +, p11-kit
  +, bubblewrap
  +, bzip2
  +, dbus
  +, glib
  +, gpgme
  +, json-glib
  +, libarchive
  +, libcap
  +, libseccomp
  +, coreutils
  +, gettext
  +, hicolor-icon-theme
  +, fuse
  +, nixosTests
  +, libsoup
  +, lzma
  +, ostree
  +, polkit
  +, python3
  +, systemd
  +, xorg
  +, valgrind
  +, glib-networking
  +, wrapGAppsHook
  +, dconf
  +, gsettings-desktop-schemas
  +, librsvg
  +}:
   
   stdenv.mkDerivation rec {
     pname = "flatpak";
  
positive.code: 
    meta = with stdenv.lib; {
      description = "Linux application sandboxing and distribution framework";
      homepage = https://flatpak.org/;
      license = licenses.lgpl21;
      maintainers = with maintainers; [ jtojnar ];
      platforms = platforms.linux;
  
negative.code:   ];
  
    makeFlags = [
      "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/flatpak"
      "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/flatpak"
    ];
  
    postPatch = ''
  