Fix missing icons

This commit is contained in:
Přemysl Eric Janouch 2024-01-11 18:26:06 +01:00
parent e747c8f084
commit 02f1912055
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 13 additions and 0 deletions

View File

@ -20,6 +20,7 @@ pkgs.stdenv.mkDerivation rec {
];
buildInputs = with pkgs; [
gnome.adwaita-icon-theme
gtk3
libwebp
libraw
@ -74,8 +75,11 @@ pkgs.stdenv.mkDerivation rec {
"-Dresvg=enabled"
];
# See nixpkgs commit b1e73fa2e086f1033a33d93524ae2a1781d12b95 about icons.
# It used to work automatically.
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
--prefix PATH : $out/bin:${pkgs.lib.makeBinPath [ pkgs.exiftool ]}
)
'';

View File

@ -13,6 +13,7 @@ pkgs.stdenv.mkDerivation rec {
];
buildInputs = with pkgs; [
gnome.adwaita-icon-theme
gtk3
json-glib
lua5_2
@ -53,6 +54,14 @@ pkgs.stdenv.mkDerivation rec {
"-DBUILD_TESTING=ON"
];
# See nixpkgs commit b1e73fa2e086f1033a33d93524ae2a1781d12b95 about icons.
# It used to work automatically.
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
)
'';
doCheck = true;
checkPhase = with pkgs; ''