Skip to content

Commit

Permalink
Merge pull request NixOS#337389 from Aleksanaa/qcm
Browse files Browse the repository at this point in the history
qcm: 1.0.4 -> 1.0.5
  • Loading branch information
Aleksanaa authored Aug 26, 2024
2 parents 3d81b7c + f3f74e2 commit 24bb1b2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/by-name/qc/qcm/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand All @@ -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}"
];
Expand Down

0 comments on commit 24bb1b2

Please sign in to comment.