Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calf package does not set LV2_PATH #45663

Open
smondet opened this issue Aug 26, 2018 · 7 comments
Open

Calf package does not set LV2_PATH #45663

smondet opened this issue Aug 26, 2018 · 7 comments

Comments

@smondet
Copy link

smondet commented Aug 26, 2018

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, start ardour5 → it doesn't find the calf plugins.

Add this before starting Ardour:

export LV2_PATH=$LV2_PATH:"$(dirname $(which calfjackhost))/../lib/lv2/"

and then it finds them.

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

  • system: "x86_64-linux"
  • host os: Linux 4.14.65, NixOS, 18.03.133126.4df3426f5a5 (Impala)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos-18.03.133126.4df3426f5a5"
  • channels(smondet): ""
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@jtojnar
Copy link
Contributor

jtojnar commented Aug 26, 2018

A setup hook for LV2 plugins would be nice. It would allow us to simplify pulseeffects expression

--set LV2_PATH "${stdenv.lib.makeSearchPath "lib/lv2" lv2Plugins}"

to

  --set LV2_PATH "$LV2_PATH"

@stale
Copy link

stale bot commented Jun 4, 2020

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:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 4, 2020
@yurkobb
Copy link
Contributor

yurkobb commented Jul 28, 2020

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)?

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 28, 2020
@stale

This comment was marked as off-topic.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 24, 2021
@miniBill
Copy link
Contributor

I would love to see this fixed

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/creating-a-standardized-audio-production-environment-with-flakes/22191/2

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 3, 2022
@SuperSandro2000
Copy link
Member

Please create a nixosModule probably named programs.ardour setting those envs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants