Skip to content

Commit

Permalink
[Backport release-24.11] mangojuice: fix GTK4 paths (#367517)
Browse files Browse the repository at this point in the history
mangojuice: fix GTK4 paths (#366578)

Fixes issues finding GTK4 dependencies, e.g:

GLib-GIO-ERROR **: 15:02:46.139: No GSettings schemas are installed on the system
GLib-GIO-ERROR **: 15:05:00.514: Settings schema 'org.gtk.gtk4.Settings.ColorChooser' is not installed

(cherry picked from commit 24f0fd5)

Co-authored-by: Calum MacRae <[email protected]>
  • Loading branch information
nix-backports[bot] and cmacrae authored Dec 23, 2024
1 parent b775ea5 commit d4f2934
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/by-name/ma/mangojuice/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
libadwaita,
glib,
libgee,
wrapGAppsHook4,

mangohud,
mesa-demos,
Expand All @@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
vala
pkg-config
makeBinaryWrapper
wrapGAppsHook4
];

buildInputs = [
Expand All @@ -47,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
];

strictDeps = true;
dontWrapGApps = true;

postFixup =
let
Expand All @@ -58,7 +61,8 @@ stdenv.mkDerivation (finalAttrs: {
in
''
wrapProgram $out/bin/mangojuice \
--prefix PATH : ${path}
--prefix PATH : ${path} \
"''${gappsWrapperArgs[@]}"
'';

passthru.updateScript = nix-update-script { };
Expand Down

0 comments on commit d4f2934

Please sign in to comment.