diff --git a/pkgs/by-name/ch/chow-tape-model/package.nix b/pkgs/by-name/ch/chow-tape-model/package.nix index e61a13ab1618..263a5747f9f1 100644 --- a/pkgs/by-name/ch/chow-tape-model/package.nix +++ b/pkgs/by-name/ch/chow-tape-model/package.nix @@ -116,15 +116,13 @@ stdenv.mkDerivation (finalAttrs: { # JUCE dlopens these, make sure they are in rpath # Otherwise, segfault will happen - NIX_LDFLAGS = ( - toString [ - "-lX11" - "-lXext" - "-lXcursor" - "-lXinerama" - "-lXrandr" - ] - ); + env.NIX_LDFLAGS = toString [ + "-lX11" + "-lXext" + "-lXcursor" + "-lXinerama" + "-lXrandr" + ]; meta = { homepage = "https://github.com/jatinchowdhury18/AnalogTapeModel";