From 2f7d935ca7f2a22dc821bb93e60d6afe14542ff7 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 26 Oct 2024 17:36:57 +0800 Subject: [PATCH] pantheon.switchboard-plug-pantheon-shell: Backport color-scheme fix Backported from switchboard-plug-pantheon-shell 8.0.1. This sets preferred color theme for mutter. --- .../apps/switchboard-plugs/pantheon-shell/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix index b0ac3670ffc6c..b777bb47d9cfc 100644 --- a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix +++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , meson , ninja @@ -33,6 +34,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-Cv1Ldvk0+VzNsKnDFwDtLZ5ixUOGV+PWYAqN9KV9g/s="; }; + patches = [ + # Set preferred color theme for mutter + # https://github.com/elementary/switchboard-plug-pantheon-shell/pull/413 + (fetchpatch { + url = "https://github.com/elementary/switchboard-plug-pantheon-shell/commit/bdc8c167fabe5a4642efd37b0289e235e5d0a504.patch"; + hash = "sha256-ueTAwURd8GM0U/qfPmoVLO7OVI/ppazq+ljnVzk0Npk="; + }) + ]; + nativeBuildInputs = [ gettext meson