Fix filetype filtering in fiv

This commit is contained in:
Přemysl Eric Janouch 2024-01-11 19:02:24 +01:00
parent 02f1912055
commit b72b93128b
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 6 additions and 2 deletions

View File

@ -24,6 +24,7 @@ pkgs.stdenv.mkDerivation rec {
gtk3
libwebp
libraw
shared-mime-info
# WIP
libepoxy
@ -76,10 +77,12 @@ pkgs.stdenv.mkDerivation rec {
];
# See nixpkgs commit b1e73fa2e086f1033a33d93524ae2a1781d12b95 about icons.
# It used to work automatically.
# It might make sense to name {hicolor,gnome.adwaita}-icon-theme/share
# explicitly, to limit undesired dependencies.
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
--prefix XDG_DATA_DIRS : "${pkgs.shared-mime-info}/share"
--prefix PATH : $out/bin:${pkgs.lib.makeBinPath [ pkgs.exiftool ]}
)
'';

View File

@ -55,7 +55,8 @@ pkgs.stdenv.mkDerivation rec {
];
# See nixpkgs commit b1e73fa2e086f1033a33d93524ae2a1781d12b95 about icons.
# It used to work automatically.
# It might make sense to name {hicolor,gnome.adwaita}-icon-theme/share
# explicitly, to limit undesired dependencies.
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"