17 Jun 2023 |
Tamara | In reply to @Minijackson:matrix.org can you go into "Edit > Preferences > Plugins > VST" and see / edit the path? * oh yeah. i can do that. and now it finds my plugins | 11:29:26 |
Tamara | i see nothing regarding envs in the nix config https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/ardour/default.nix | 11:29:37 |
Minijackson | In reply to @tamtaram:chat.heizhaus.org i see nothing regarding envs in the nix config https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/ardour/default.nix should there be? | 11:30:20 |
Tamara | In reply to @Minijackson:matrix.org should there be? do you think it's acceptable that if i install ardour and lv2 plugins as a package, that ardour then ignores their existence? | 11:31:13 |
Minijackson | I mean, Nix installs those packages in non-standard paths | 11:32:18 |
Minijackson | but I guess Ardour could be patched to modify the default LV2 / VST3 paths | 11:33:07 |
Tamara | found one of the paths: https://github.com/Ardour/ardour/blob/9b797dc4c17649b6ad2cc3108e76841719332e70/libs/ardour/plugin_manager.cc#L306 | 11:35:37 |
Tamara | im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me | 11:36:47 |
Tamara | ohh. it does check the ENVs but only during your first time launch | 11:41:20 |
Tamara | but the "Reset to default" button does not | 11:42:15 |
Minijackson | In reply to @tamtaram:chat.heizhaus.org im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me it can, but I think nix removes the .git folder, so it wouldn't track your change by default | 12:15:24 |
Minijackson | you can make the src point to another local repository using --redirect , however | 12:15:53 |
Tamara | uhh ok. i just made a patch file based on the upstream git. then i applied it with patch and am waiting for that to compile | 12:21:38 |
Tamara | yey at least the patch works. uhh lemme try add it to nixpkg | 12:25:36 |
Tamara | not sure if i should switch channel for this but quick question: i've made a change to the default.nix of ardour in my local copy of the nixpkgs git. how do i build this locally? would like to do that before i open a PR | 12:52:27 |
Tamara | i got help from someone else ;)
PR is up: https://github.com/NixOS/nixpkgs/pull/238268 | 13:33:53 |
Guillaume Desforges | In reply to @tamtaram:chat.heizhaus.org not sure if i should switch channel for this but quick question: i've made a change to the default.nix of ardour in my local copy of the nixpkgs git. how do i build this locally? would like to do that before i open a PR you can CD to the nixpkgs folder and do
nix build path:.#ardour7 | 14:01:08 |
Tamara | thank you. build worked | 14:11:17 |
Rampoina | hmm | 15:48:30 |