anchor.diff: -{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, gettext, pkg-config, spidermonkey_68, glib
  -, gnome, gnome-menus, substituteAll }:
  +{ lib
  +, stdenv
  +, fetchurl
  +, meson
  +, ninja
  +, gettext
  +, pkg-config
  +, glib
  +, gnome
  +, gnome-menus
  +, substituteAll
  +}:
   
   stdenv.mkDerivation rec {
     pname = "gnome-shell-extensions";
  -  version = "40.0";
  +  version = "40.1";
   
     src = fetchurl {
       url = "mirror://gnome/sources/gnome-shell-extensions/${lib.versions.major version}/${pname}-${version}.tar.xz";
  -    sha256 = "15hak4prx2nx1svfii39clxy1lll8crdf7p91if85jcsh6r8ab8p";
  -  };
  -
  -  passthru = {
  -    updateScript = gnome.updateScript {
  -      packageName = pname;
  -      attrPath = "gnome.${pname}";
  -    };
  +    sha256 = "T7/OCtQ1e+5zrn3Bjqoe9MqnOF5PlPavuN/HJR/RqL8=";
     };
   
     patches = [
  
positive.code:     done
    '';
  
    meta = with lib; {
      homepage = "https://wiki.gnome.org/Projects/GnomeShell/Extensions";
      description = "Modify and extend GNOME Shell functionality and behavior";
      maintainers = teams.gnome.members;
      license = licenses.gpl2;
      platforms = platforms.linux;
    };
  }
  
negative.code:       src = ./fix_gmenu.patch;
        gmenu_path = "${gnome-menus}/lib/girepository-1.0";
      })
    ];
  
    nativeBuildInputs = [
      meson
      ninja
      pkg-config
      gettext
      glib
    ];
  
    mesonFlags = [
      "-Dextension_set=all"
    ];
  
    preFixup = ''
      # The meson build doesn't compile the schemas.
  