elementary-planner: fix wrong hardcoded GTK theme name
The theme name is updated in elementary OS 6.
This commit is contained in:
parent
73ad5f9e14
commit
019e6fdd78
@ -64,13 +64,19 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# The GTK theme has been renamed in elementary OS 6
|
||||
# https://github.com/elementary/flatpak-platform/blob/6.1.0/io.elementary.Sdk.json#L182
|
||||
# Remove this in https://github.com/NixOS/nixpkgs/pull/159249
|
||||
substituteInPlace src/Application.vala \
|
||||
--replace '"gtk-theme-name", "elementary"' '"gtk-theme-name", "io.elementary.stylesheet.blueberry"'
|
||||
|
||||
chmod +x build-aux/meson/post_install.py
|
||||
patchShebangs build-aux/meson/post_install.py
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# the theme is hardcoded
|
||||
# The GTK theme is hardcoded.
|
||||
--prefix XDG_DATA_DIRS : "${pantheon.elementary-gtk-theme}/share"
|
||||
)
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user