musescore: fix 'New score' window crash

Fixes #540783.
This commit is contained in:
Doron Behar
2026-07-15 13:56:41 +03:00
parent 2232ce6058
commit 1501096c5f

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
# nativeBuildInputs
cmake,
@@ -45,6 +46,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-wWqFJkXLRi3JtnEW3STTG/jBBIQK1dIYPZdKCiBn0m0=";
};
patches = [
# Fix for https://github.com/musescore/MuseScore/issues/34091 also reported
# downstream at: https://github.com/NixOS/nixpkgs/issues/540783. PR to
# track: https://github.com/musescore/MuseScore/pull/34204
(fetchpatch {
url = "https://github.com/musescore/MuseScore/commit/f273501e418842351c4bda10cce32b0e329eaff1.patch";
hash = "sha256-zrZRzeAHSFGtCuw/o4A3b1Blbo3FxKGxw1UDu9IggzY=";
})
];
cmakeFlags = [
(lib.cmakeFeature "MUSE_APP_BUILD_MODE" "release")
# Disable the build and usage of the `/bin/crashpad_handler` utility - it's