From cd7a5374a68fb463f9cf270c2b0a9e9eb640dcfc Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Fri, 23 Jan 2026 13:45:32 +0100 Subject: [PATCH] qdelay: remove standalone see: https://github.com/tiagolr/reevr/issues/11 --- pkgs/by-name/qd/qdelay/package.nix | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/pkgs/by-name/qd/qdelay/package.nix b/pkgs/by-name/qd/qdelay/package.nix index 4d78090472f3..356578b372c2 100644 --- a/pkgs/by-name/qd/qdelay/package.nix +++ b/pkgs/by-name/qd/qdelay/package.nix @@ -55,7 +55,8 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; cmakeFlags = [ - "-DCOPY_PLUGIN_AFTER_BUILD=FALSE" + (lib.cmakeBool "COPY_PLUGIN_AFTER_BUILD" false) + (lib.cmakeFeature "BUILD_STANDALONE" "OFF") ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}" @@ -75,30 +76,9 @@ stdenv.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall - mkdir -p $out/bin $out/lib/vst3 + mkdir -p $out/lib/vst3 $out/lib/lv2 - '' - + ( - if stdenv.hostPlatform.isDarwin then - '' - mkdir -p $out/Applications - cp -R QDelay_artefacts/Release/Standalone/QDelay.app \ - $out/Applications/QDelay.app - ln -s \ - $out/Applications/QDelay.app/Contents/MacOS/QDelay \ - $out/bin/QDelay - '' - else - '' - install -Dm755 \ - QDelay_artefacts/Release/Standalone/QDelay \ - $out/bin/QDelay - - mkdir -p $out/bin $out/lib/lv2 - cp -r "QDelay_artefacts/Release/LV2/QDelay.lv2" $out/lib/lv2 - '' - ) - + '' + cp -r "QDelay_artefacts/Release/LV2/QDelay.lv2" $out/lib/lv2 cp -r "QDelay_artefacts/Release/VST3/QDelay.vst3" $out/lib/vst3 runHook postInstall @@ -110,7 +90,6 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://github.com/tiagolr/qdelay/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ magnetophon ]; - mainProgram = "QDelay"; platforms = lib.platforms.all; }; })