Unverified Commit ee1c3205 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

odin2: move NIX_LDFLAGS into env for structuredAttrs

parent 1ba559fe
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -52,15 +52,13 @@ stdenv.mkDerivation (finalAttrs: {
  ];

  # JUCE dlopen's these at runtime, crashes without them
  NIX_LDFLAGS = (
    toString [
  env.NIX_LDFLAGS = toString [
    "-lX11"
    "-lXext"
    "-lXcursor"
    "-lXinerama"
    "-lXrandr"
    ]
  );
  ];

  # JUCE wants to write to $HOME/.{lv2,vst3}
  preConfigure = ''