odin2: move NIX_LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -52,15 +52,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
# JUCE dlopen's these at runtime, crashes without them
|
||||
NIX_LDFLAGS = (
|
||||
toString [
|
||||
"-lX11"
|
||||
"-lXext"
|
||||
"-lXcursor"
|
||||
"-lXinerama"
|
||||
"-lXrandr"
|
||||
]
|
||||
);
|
||||
env.NIX_LDFLAGS = toString [
|
||||
"-lX11"
|
||||
"-lXext"
|
||||
"-lXcursor"
|
||||
"-lXinerama"
|
||||
"-lXrandr"
|
||||
];
|
||||
|
||||
# JUCE wants to write to $HOME/.{lv2,vst3}
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user