Open smondet opened 6 years ago
A setup hook for LV2 plugins would be nice. It would allow us to simplify pulseeffects expression
to
--set LV2_PATH "$LV2_PATH"
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
I see that this path is not package-specific and in musnix it is configured in environment.variables
:
environment.variables = {
DSSI_PATH = "$HOME/.dssi:$HOME/.nix-profile/lib/dssi:/run/current-system/sw/lib/dssi";
LADSPA_PATH = "$HOME/.ladspa:$HOME/.nix-profile/lib/ladspa:/run/current-system/sw/lib/ladspa";
LV2_PATH = "$HOME/.lv2:$HOME/.nix-profile/lib/lv2:/run/current-system/sw/lib/lv2";
LXVST_PATH = "$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst";
VST_PATH = "$HOME/.vst:$HOME/.nix-profile/lib/vst:/run/current-system/sw/lib/vst";
};
May this can be solved system-wide (and perhaps be the default for nixos)?
I marked this as stale due to inactivity. → More info
I would love to see this fixed
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Please create a nixosModule probably named programs.ardour setting those envs.
Issue description
Should a package like Calf, add its path to the
LV2_PATH
variable? (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/calf/default.nix)Steps to reproduce
Run a nix-shell with
-p ardour -p calf
, startardour5
→ it doesn't find the calf plugins.Add this before starting Ardour:
and then it finds them.
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the results."x86_64-linux"
Linux 4.14.65, NixOS, 18.03.133126.4df3426f5a5 (Impala)
yes
no
nix-env (Nix) 2.0.4
"nixos-18.03.133126.4df3426f5a5"
""
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs