!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

118 Members
26 Servers

Load older messages


SenderMessageTime
17 Jun 2023
@Minijackson:matrix.orgMinijackson
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@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:matrix.orgMinijacksonI mean, Nix installs those packages in non-standard paths11:32:18
@Minijackson:matrix.orgMinijacksonbut I guess Ardour could be patched to modify the default LV2 / VST3 paths11:33:07
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgfound one of the paths: https://github.com/Ardour/ardour/blob/9b797dc4c17649b6ad2cc3108e76841719332e70/libs/ardour/plugin_manager.cc#L30611:35:37
@tamtaram:chat.heizhaus.org@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@tamtaram:chat.heizhaus.orgohh. it does check the ENVs but only during your first time launch11:41:20
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgbut the "Reset to default" button does not11:42:15
@Minijackson:matrix.orgMinijackson
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:matrix.orgMinijackson you can make the src point to another local repository using --redirect, however 12:15:53
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orguhh ok. i just made a patch file based on the upstream git. then i applied it with patch and am waiting for that to compile12:21:38
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgyey at least the patch works. uhh lemme try add it to nixpkg12:25:36
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgnot 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 PR12:52:27
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgi got help from someone else ;) PR is up: https://github.com/NixOS/nixpkgs/pull/23826813:33:53
@gdesforges:matrix.orgGuillaume 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@tamtaram:chat.heizhaus.orgthank you. build worked 14:11:17
@rampoina:matrix.orgRampoinahmm15:48:30
@rampoina:matrix.orgRampoinaI do have VST_PATH set15:48:34
@rampoina:matrix.orgRampoinabut I don't remember ever changing that15:48:48
@rampoina:matrix.orgRampoinaI 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:matrix.orgMinijacksonyou might have set the environment variable before launching Ardour for the first time?15:53:18
@rampoina:matrix.orgRampoina my history doesn't show that at least 15:54:57
@rampoina:matrix.orgRampoinathose env variables must be set by something15:56:47
@rampoina:matrix.orgRampoinawhat is setting those15:56:50
@rampoina:matrix.orgRampoinafound it15:58:10
@rampoina:matrix.orgRampoinait was musnix after all15:58:14
@rampoina:matrix.orgRampoinahttps://github.com/musnix/musnix/blob/79a6cf5a711e7d2dbf0a3ba0df9bae016d6247f8/modules/base.nix#L7915:58:17
@rampoina:matrix.orgRampoina
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@tamtaram:chat.heizhaus.orgI see. Envs still work with the patch btw 16:25:59
18 Jun 2023
@quasineutral:matrix.orgquasineutral joined the room.09:49:54

Show newer messages


Back to Room ListRoom Version: 9