Skip to content

Commit 44b4f95

Browse files
authored
musescore: use wrapGAppsHook3 on Linux only (#342316)
2 parents 235b618 + ca3e160 commit 44b4f95

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkgs/applications/audio/musescore/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
, fetchFromGitHub
44
, fetchpatch
55
, cmake
6-
, wrapGAppsNoGuiHook
6+
, wrapGAppsHook3
77
, wrapQtAppsHook
88
, pkg-config
99
, ninja
@@ -110,14 +110,15 @@ in stdenv'.mkDerivation (finalAttrs: {
110110
dontWrapGApps = true;
111111

112112
nativeBuildInputs = [
113-
# Just to make it not crash when looking up Gschemas when opening external
114-
# files
115-
wrapGAppsNoGuiHook
116113
wrapQtAppsHook
117114
cmake
118115
qttools
119116
pkg-config
120117
ninja
118+
] ++ lib.optionals stdenv.isLinux [
119+
# Since https://github.com/musescore/MuseScore/pull/13847/commits/685ac998
120+
# GTK3 is needed for file dialogs. Fixes crash with No GSettings schemas error.
121+
wrapGAppsHook3
121122
];
122123

123124
buildInputs = [

0 commit comments

Comments
 (0)