From f3f74e288ac5bebf99727736e24259c47385220f Mon Sep 17 00:00:00 2001 From: aleksana Date: Mon, 26 Aug 2024 12:21:11 +0800 Subject: [PATCH] qcm: 1.0.4 -> 1.0.5 --- pkgs/by-name/qc/qcm/package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/qc/qcm/package.nix b/pkgs/by-name/qc/qcm/package.nix index 88ecd57704027..c3a6bd8ca47d9 100644 --- a/pkgs/by-name/qc/qcm/package.nix +++ b/pkgs/by-name/qc/qcm/package.nix @@ -11,14 +11,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "qcm"; - version = "1.0.4"; + version = "1.0.5"; src = fetchFromGitHub { owner = "hypengw"; repo = "Qcm"; rev = "v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-dwzstlmGuY8oRxxO2BPXmSCSnE7Fbp+dyYVs17HUopA="; + hash = "sha256-/FOT2xK01JbJbTd5AT5Dk/5EF9qUyLvPTnw8PMtHYoQ="; }; patches = [ ./remove_cubeb_vendor.patch ]; @@ -38,6 +38,12 @@ stdenv.mkDerivation (finalAttrs: { cubeb ] ++ cubeb.passthru.backendLibs; + # Correct qml import path + postInstall = '' + mkdir $out/lib/qt-6 + mv $out/lib/qml $out/lib/qt-6/qml + ''; + qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath cubeb.passthru.backendLibs}" ];