mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
lv2: add dev output
Also put programs there since those are just development tools, that would bring unnecessary Python dependency into out’s runtime closure.
This commit is contained in:
parent
2dfe209c3e
commit
9858da4185
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||
pname = "lv2";
|
||||
version = "1.18.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://lv2plug.in/spec/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-TokfvHRMBYVb6136gugisUkX3Wbpj4K4Iw29HHqy4F4=";
|
||||
@ -27,7 +29,10 @@ stdenv.mkDerivation rec {
|
||||
python3
|
||||
];
|
||||
|
||||
wafConfigureFlags = lib.optionals stdenv.isDarwin [
|
||||
wafConfigureFlags = [
|
||||
"--includedir=${placeholder "dev"}/include"
|
||||
"--bindir=${placeholder "dev"}/bin"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"--lv2dir=${placeholder "out"}/lib/lv2"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user