17 Jun 2023 |
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 |
@tamtaram:chat.heizhaus.org | 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 |
@tamtaram:chat.heizhaus.org | found one of the paths: https://github.com/Ardour/ardour/blob/9b797dc4c17649b6ad2cc3108e76841719332e70/libs/ardour/plugin_manager.cc#L306 | 11:35:37 |
@tamtaram:chat.heizhaus.org | im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me | 11:36:47 |
@tamtaram:chat.heizhaus.org | ohh. it does check the ENVs but only during your first time launch | 11:41:20 |
@tamtaram:chat.heizhaus.org | 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 |
@tamtaram:chat.heizhaus.org | 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 |
@tamtaram:chat.heizhaus.org | yey at least the patch works. uhh lemme try add it to nixpkg | 12:25:36 |
@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 | 12:52:27 |
@tamtaram:chat.heizhaus.org | 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 |
@tamtaram:chat.heizhaus.org | thank you. build worked | 14:11:17 |
Rampoina | hmm | 15:48:30 |
Rampoina | I do have VST_PATH set | 15:48:34 |
Rampoina | but I don't remember ever changing that | 15:48:48 |
Rampoina | I don't understand why it works for me. I suppose I must have changed the path at some point but I don't see where. | 15:52:44 |
Minijackson | you might have set the environment variable before launching Ardour for the first time? | 15:53:18 |
Rampoina | my history doesn't show that at least | 15:54:57 |
Rampoina | those env variables must be set by something | 15:56:47 |
Rampoina | what is setting those | 15:56:50 |
Rampoina | found it | 15:58:10 |
Rampoina | it was musnix after all | 15:58:14 |
Rampoina | https://github.com/musnix/musnix/blob/79a6cf5a711e7d2dbf0a3ba0df9bae016d6247f8/modules/base.nix#L79 | 15:58:17 |
Rampoina | In reply to @rampoina:matrix.org I'm also using musnix but I don't think that should change anything it did :P | 15:58:52 |
@tamtaram:chat.heizhaus.org | I see. Envs still work with the patch btw | 16:25:59 |
18 Jun 2023 |
| quasineutral joined the room. | 09:49:54 |