From 00a082f90932fcc73f9a4b5195c93d58443f0548 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 16 Sep 2024 08:36:39 +0000 Subject: [PATCH] musescore: fix crash accessing uninitialized properties Without this patch MuseScore crashes on my x86_64 Linux about 40% of the times I attempt to launch it. See https://github.com/musescore/MuseScore/pull/24714 --- pkgs/applications/audio/musescore/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/audio/musescore/default.nix b/pkgs/applications/audio/musescore/default.nix index fbfc50a1a684..ad986c55be50 100644 --- a/pkgs/applications/audio/musescore/default.nix +++ b/pkgs/applications/audio/musescore/default.nix @@ -64,6 +64,11 @@ in stdenv'.mkDerivation (finalAttrs: { url = "https://github.com/musescore/MuseScore/pull/24326/commits/b274f13311ad0b2bce339634a006ba22fbd3379e.patch"; hash = "sha256-ZGmjRa01CBEIxJdJYQMhdg4A9yjWdlgn0pCPmENBTq0="; }) + (fetchpatch { + name = "fix-crash-accessing-uninitialized-properties.patch"; + url = "https://github.com/musescore/MuseScore/pull/24714.patch"; + hash = "sha256-ErrCU/U+wyfD7R8kiZTifGIeuCAdKi1q7uxYsoE/OLA="; + }) ]; cmakeFlags = [