adwaita-icon-theme: 46.0 → 47.beta

https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/compare/46.0...47.beta

Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
Bobby Rong 2024-08-18 08:27:22 +00:00
parent 062991df53
commit 21c59e1355
No known key found for this signature in database

View File

@ -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 = {