From 6a643c3b35af0c6ef2b043ff0c78bb5eb64b9b55 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 02:49:24 +0000 Subject: [PATCH] fix(compiz): use the attributes the pinned nixpkgs still has pkgs/compiz stopped evaluating: the pinned nixpkgs removed `glibmm` (explicit-ABI glibmm_* only), and the same file also leaned on `libwnck3` and `gnome.metacity`, which the pin turns into throws, plus the `xorgserver` and `xorg.libXdmcp` aliases. compiz 0.9.x links glibmm-2.4, so it now takes glibmm_2_4, libwnck, metacity, libxdmcp and xorg-server, each checked to exist at the pinned revision. Fixes #10378 Co-Authored-By: Claude Opus 5.5 --- pkgs/compiz/default.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/compiz/default.nix b/pkgs/compiz/default.nix index 94b70720d3..776615f7e5 100644 --- a/pkgs/compiz/default.nix +++ b/pkgs/compiz/default.nix @@ -5,27 +5,27 @@ cmake, fetchurl, fuse, - glibmm, - gnome, + glibmm_2_4, gobject-introspection, gtk3, intltool, libnotify, libstartup_notification, - libwnck3, + libwnck, libxcursor, + libxdmcp, libxml2, libxslt, makeWrapper, mesa_glu, + metacity, pcre2, pkg-config, protobuf, python3Packages, stdenv, wrapGAppsHook3, - xorg, - xorgserver, + xorg-server, ... }: stdenv.mkDerivation (f: { @@ -52,22 +52,22 @@ stdenv.mkDerivation (f: { boost cairo fuse - glibmm - gnome.metacity + glibmm_2_4 + metacity gobject-introspection gtk3 intltool libnotify libstartup_notification - libwnck3 + libwnck libxml2 libxslt mesa_glu pcre2 protobuf libxcursor - xorg.libXdmcp - xorgserver + libxdmcp + xorg-server ]; postInstall = '' @@ -89,7 +89,7 @@ stdenv.mkDerivation (f: { wrapProgram "$out/bin/compiz-decorator" \ --prefix COMPIZ_BIN_PATH : "$out/bin/" \ - --prefix PATH : "${gnome.metacity}/bin" + --prefix PATH : "${metacity}/bin" # Wrap CCSM with GApps and Python path makeWrapperArgs+=("''${gappsWrapperArgs[@]}")