From 21c59e135579cf0822cbee2fa19f9152ea714479 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 18 Aug 2024 08:27:22 +0000 Subject: [PATCH] =?UTF-8?q?adwaita-icon-theme:=2046.0=20=E2=86=92=2047.bet?= =?UTF-8?q?a?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/compare/46.0...47.beta Changelog-reviewed-by: Bobby Rong --- pkgs/by-name/ad/adwaita-icon-theme/package.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ad/adwaita-icon-theme/package.nix b/pkgs/by-name/ad/adwaita-icon-theme/package.nix index 14d6b869e75d..a009966e737c 100644 --- a/pkgs/by-name/ad/adwaita-icon-theme/package.nix +++ b/pkgs/by-name/ad/adwaita-icon-theme/package.nix @@ -13,11 +13,11 @@ stdenv.mkDerivation rec { pname = "adwaita-icon-theme"; - version = "46.0"; + version = "47.beta"; src = fetchurl { url = "mirror://gnome/sources/adwaita-icon-theme/${lib.versions.major version}/adwaita-icon-theme-${version}.tar.xz"; - hash = "sha256-S8tTm9ddZNo4XW+gjLqp3erOtqyOgrhbpsQRF79bpk4="; + hash = "sha256-wEWmk0nm6dwUPTrCr0tm0fCwLGY+GaIPwZ6qYIIErvs="; }; nativeBuildInputs = [ @@ -37,6 +37,13 @@ stdenv.mkDerivation rec { hicolor-icon-theme ]; + postPatch = '' + # Postpone these changes for now, please discuss in https://github.com/NixOS/nixpkgs/pull/316416 + substituteInPlace index.theme \ + --replace-fail "Hidden=true" "" \ + --replace-fail "Inherits=AdwaitaLegacy,hicolor" "Inherits=hicolor" + ''; + dontDropIconThemeCache = true; passthru = {