Fix missing icons
This commit is contained in:
parent
e747c8f084
commit
02f1912055
|
@ -20,6 +20,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
gnome.adwaita-icon-theme
|
||||||
gtk3
|
gtk3
|
||||||
libwebp
|
libwebp
|
||||||
libraw
|
libraw
|
||||||
|
@ -74,8 +75,11 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
"-Dresvg=enabled"
|
"-Dresvg=enabled"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# See nixpkgs commit b1e73fa2e086f1033a33d93524ae2a1781d12b95 about icons.
|
||||||
|
# It used to work automatically.
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
|
||||||
--prefix PATH : $out/bin:${pkgs.lib.makeBinPath [ pkgs.exiftool ]}
|
--prefix PATH : $out/bin:${pkgs.lib.makeBinPath [ pkgs.exiftool ]}
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -13,6 +13,7 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
|
gnome.adwaita-icon-theme
|
||||||
gtk3
|
gtk3
|
||||||
json-glib
|
json-glib
|
||||||
lua5_2
|
lua5_2
|
||||||
|
@ -53,6 +54,14 @@ pkgs.stdenv.mkDerivation rec {
|
||||||
"-DBUILD_TESTING=ON"
|
"-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;
|
doCheck = true;
|
||||||
|
|
||||||
checkPhase = with pkgs; ''
|
checkPhase = with pkgs; ''
|
||||||
|
|
Loading…
Reference in New Issue