From 4416f5b78a27371de63d06aa0cc73cbbf9f0e8ea Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 14 Jul 2023 15:08:05 +0300 Subject: [PATCH] musescore: Switch to wrapQtAppsHook and stdenv.mkDerivation The usage of libsForQt5's mkDerivation is deprecated. --- pkgs/applications/audio/musescore/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/musescore/default.nix b/pkgs/applications/audio/musescore/default.nix index ebe9430cf62b..01be6ec7615a 100644 --- a/pkgs/applications/audio/musescore/default.nix +++ b/pkgs/applications/audio/musescore/default.nix @@ -1,8 +1,9 @@ -{ mkDerivation +{ stdenv , lib , fetchFromGitHub , fetchpatch , cmake +, wrapQtAppsHook , pkg-config , ninja , alsa-lib @@ -30,7 +31,7 @@ , nixosTests }: -mkDerivation rec { +stdenv.mkDerivation rec { pname = "musescore"; version = "4.1.0"; @@ -60,6 +61,7 @@ mkDerivation rec { ]; nativeBuildInputs = [ + wrapQtAppsHook cmake pkg-config ninja