odin2: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-07 14:16:00 +01:00
parent 1ba559fe7c
commit ee1c320508
+7 -9
View File
@@ -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 = ''