diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-09-12 07:40:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 07:40:14 +0200 |
commit | 79aa627be641fec02ae77997d1238a2f4514691b (patch) | |
tree | 9c297ce29bcf50903eb91b79ccdd629c88fd7263 /pkgs/applications/video/pitivi/default.nix | |
parent | 9b95f21cdb383f56c5a769240c946ef376778fb9 (diff) | |
parent | dc0f76eb106e8501ec4af254739f5e650551cc59 (diff) |
Merge pull request #254279 from AkechiShiro/pitivi-fix-hicolor-theme
pitivi: pass hicolor-theme to fix missing icons
Diffstat (limited to 'pkgs/applications/video/pitivi/default.nix')
-rw-r--r-- | pkgs/applications/video/pitivi/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix index e15b0969e35d0..d37fc66cb0364 100644 --- a/pkgs/applications/video/pitivi/default.nix +++ b/pkgs/applications/video/pitivi/default.nix @@ -16,6 +16,7 @@ , meson , ninja , gsettings-desktop-schemas +, hicolor-icon-theme }: python3.pkgs.buildPythonApplication rec { @@ -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 ''; @@ -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; }; } |