| 13 Oct 2025 |
Erik | * Hey folks, I’m sure you get this question a lot but I can’t seem to find an answer: are packages able to install/symlink files in /Library subdirectories?
Asking because I tried to package a VST and the /Library/Audio/Plugins/… files are nowhere to be found.
I figured I’d check an existing package dexed, which installs an application in /Applications and supposedly installs the Audio Units under /Library/…, but those are also nowhere to be found when added to nix-darwin. Nor home-manager for that matter…
Which seems to imply any kind of audio plug-in simply cannot be installed using nix-darwin? | 10:29:54 |
ivy | yes | 10:33:06 |
ivy | i have a pr for that | 10:33:18 |
ivy | literally for this purpose | 10:33:31 |
ivy | https://github.com/nix-darwin/nix-darwin/pull/1594/files | 10:34:18 |
ivy | i can adjust it to be more generic tho | 10:34:31 |
Erik | You, ivy are a magical being. | 10:35:29 |
ivy | it wont work for u yet | 10:35:48 |
ivy | just a lil adjustment | 10:35:53 |
ivy | then it should | 10:35:56 |
Erik | No problem at all, I can use that as a blueprint and take it from there :) | 10:36:42 |
Erik | At least I wasn’t just overlooking something silly that should already have been working | 10:37:15 |
| @hsngrmpf:matrix.org left the room. | 10:40:50 |
ivy | okay updated that branch | 10:44:33 |
ivy | this should do what u wany | 10:44:39 |
ivy | actually | 10:45:53 |
ivy | no it will nuke ur library folder hang on | 10:46:00 |
Erik | Haha thankfully I’m very slow. That’s what my mom always told me anyway | 10:46:44 |
ivy | now it will work | 10:48:01 |
ivy | i didnt do the right rsync flags | 10:48:11 |
ivy | this should work | 10:48:13 |
ivy | as long as dexed actuall puts into out Library/Audio/Plugins | 10:50:29 |
ivy | then this will link it | 10:50:37 |
Erik | It’s /Library/Audio/Plug-Ins/{CLAP,Components,VST3} in the case of dexed. Other audio plugins might also use: - /Library/Audio/Plug-Ins/VST - /Library/Application Support/Avid/Audio/Plug-Ins | 10:53:37 |
ivy | okay that needs to be paths it links | 10:54:14 |
ivy | otherwise it will nuke them | 10:54:20 |
ivy | it needs to bw the lowest folder | 10:54:33 |
Erik | I was packaging TAL-Chorus-LX which uses:
aaxDir = "$out/Library/Application Support/Avid/Audio/Plug-Ins";
auDir = "$out/Library/Audio/Plug-Ins/Components";
clapDir = "$out/Library/Audio/Plug-Ins/CLAP";
vstDir = "$out/Library/Audio/Plug-Ins/VST";
vst3Dir = "$out/Library/Audio/Plug-Ins/VST3";
| 10:54:33 |
Erik | I was packaging TAL-Chorus-LX which uses:
aaxDir = "$out/Library/Application Support/Avid/Audio/Plug-Ins";
auDir = "$out/Library/Audio/Plug-Ins/Components";
clapDir = "$out/Library/Audio/Plug-Ins/CLAP";
vstDir = "$out/Library/Audio/Plug-Ins/VST";
vst3Dir = "$out/Library/Audio/Plug-Ins/VST3";
| 10:54:43 |
ivy | do a pr to my branch and ill merge | 10:55:01 |