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}" ];