anchor.diff:      "-Dplugins=false"
     ];
   
  -  # This should be provided by a post_install.py script - See -> https://github.com/elementary/photos/pull/433
  -  postInstall = ''
  -    ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
  +  postPatch = ''
  +    chmod +x meson/post_install.py
  +    patchShebangs meson/post_install.py
     '';
   
     meta =  with stdenv.lib; {
  
positive.code:     meson
      ninja
      pkgconfig
      vala
      wrapGAppsHook
    ];
  
negative.code: { stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, desktop-file-utils
  , gtk3, glib, libaccounts-glib, libexif, libgee, geocode-glib, gexiv2,libgphoto2
  , granite, gst_all_1, libgudev, json-glib, libraw, librest, libsoup, sqlite, python3
  , scour, webkitgtk, libwebp, appstream, libunity, wrapGAppsHook, gobject-introspection, elementary-icon-theme }:
  
  stdenv.mkDerivation rec {
    pname = "photos";
    version = "2.6.2";
  
    name = "elementary-${pname}-${version}";
  
  