Skip to content

Commit

Permalink
Merge pull request #254279 from AkechiShiro/pitivi-fix-hicolor-theme
Browse files Browse the repository at this point in the history
pitivi: pass hicolor-theme to fix missing icons
  • Loading branch information
wegank authored Sep 12, 2023
2 parents 9b95f21 + dc0f76e commit 79aa627
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/applications/video/pitivi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
, meson
, ninja
, gsettings-desktop-schemas
, hicolor-icon-theme
}:

python3.pkgs.buildPythonApplication rec {
Expand Down Expand Up @@ -74,6 +75,13 @@ python3.pkgs.buildPythonApplication rec {
librosa
];

preFixup = ''
gappsWrapperArgs+=(
# The icon theme is hardcoded.
--prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share"
)
'';

postPatch = ''
patchShebangs ./getenvvar.py
'';
Expand All @@ -94,7 +102,7 @@ python3.pkgs.buildPythonApplication rec {
that can appeal to newbies and professionals alike.
'';
license = licenses.lgpl21Plus;
maintainers = with maintainers; [];
maintainers = with maintainers; [ akechishiro ];
platforms = platforms.linux;
};
}

0 comments on commit 79aa627

Please sign in to comment.