diff --git a/pkgs/applications/audio/adlplug/default.nix b/pkgs/applications/audio/adlplug/default.nix index fe57e29a1072..a0f5b48a6323 100644 --- a/pkgs/applications/audio/adlplug/default.nix +++ b/pkgs/applications/audio/adlplug/default.nix @@ -117,9 +117,13 @@ stdenv.mkDerivation rec { ] ++ lib.optional withJack jack; postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' - mkdir $out/Applications + mkdir -p $out/{Applications,Library/Audio/Plug-Ins/{VST,Components}} + mv $out/bin/${mainProgram}.app $out/Applications/ ln -s $out/{Applications/${mainProgram}.app/Contents/MacOS,bin}/${mainProgram} + + mv vst2/${mainProgram}.vst $out/Library/Audio/Plug-Ins/VST/ + mv au/${mainProgram}.component $out/Library/Audio/Plug-Ins/Components/ ''; meta = with lib; {