From eb9d7fb9b89742ca50197fd26f87b15c131d4887 Mon Sep 17 00:00:00 2001 From: randogoth Date: Mon, 31 Aug 2026 20:20:04 +0300 Subject: [PATCH] gnome: fix two extensions broken by the GNOME 49 -> 50 bump Tracking nixos-26.05 moved GNOME Shell from 49 to 50, and the shell hard-disables any extension whose metadata.json shell-version array lacks the running major. Two enabled extensions were left OUT OF DATE, for different reasons: - logomenu@aryan_k was pinned to the v38 zip only because the custom-menu patch was written against v38. nixpkgs 26.05 already ships v41, which supports shell 50, and the patch applies to it cleanly. Drop the version/src pin and keep the override patch-only. - all-in-one-clipboard is still packaged as v19 (shell <=49) on the nixos-26.05 branch; the shell-50 build (v30) landed in unstable and was never backported. Pin src to the v30 zip until it is. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ABzc7ivGbjKRCASa8uEkjd --- modules/desktop/gnome.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/desktop/gnome.nix b/modules/desktop/gnome.nix index bd9f8ab..70800fd 100644 --- a/modules/desktop/gnome.nix +++ b/modules/desktop/gnome.nix @@ -2,13 +2,18 @@ let logoMenuExtension = pkgs.gnomeExtensions.logo-menu.overrideAttrs (old: { - version = "38"; + patches = (old.patches or [ ]) ++ [ ./patches/logo-menu-custom-menu.patch ]; + }); + + # nixos-26.05 still packages v19, which caps out at GNOME Shell 49; the + # shell-50 build landed only in nixpkgs unstable. Drop once 26.05 backports it. + aioClipboardExtension = pkgs.gnomeExtensions.all-in-one-clipboard.overrideAttrs (_: { + version = "30"; src = pkgs.fetchzip { - url = "https://extensions.gnome.org/extension-data/logomenuaryan_k.v38.shell-extension.zip"; - hash = "sha256-GdGn7YKfOOEM0kV1Gd9H5c1KKjs/+/4XCsxO2pFdqu4="; + url = "https://extensions.gnome.org/extension-data/all-in-one-clipboardNiffirgkcaJ.github.com.v30.shell-extension.zip"; + hash = "sha256-zESXhXVWVttjAN/75zNfF7u7uJKGMARpilBgYkkpMWs="; stripRoot = false; }; - patches = (old.patches or [ ]) ++ [ ./patches/logo-menu-custom-menu.patch ]; }); in { @@ -99,7 +104,7 @@ in pkgs.papirus-icon-theme pkgs.file-roller pkgs.unrar - pkgs.gnomeExtensions.all-in-one-clipboard + aioClipboardExtension pkgs.gnomeExtensions.alphabetical-app-grid pkgs.gnomeExtensions.app-hider pkgs.gnomeExtensions.apps