From 2c629505aaa31ce0486d0c8229fc06c43681a956 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 30 Jan 2026 23:36:15 +0100 Subject: [PATCH] chow-tape-model: move NIX_LDFLAGS into env for structuredAttrs --- pkgs/by-name/ch/chow-tape-model/package.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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";