From 6d05fc33db1f15124577e090aae975c75a036211 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Fri, 30 Jan 2026 23:36:16 +0100 Subject: [PATCH] ecwolf: move NIX_LDFLAGS into env for structuredAttrs --- pkgs/by-name/ec/ecwolf/package.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ec/ecwolf/package.nix b/pkgs/by-name/ec/ecwolf/package.nix index f0f4021405ba..91ee86673271 100644 --- a/pkgs/by-name/ec/ecwolf/package.nix +++ b/pkgs/by-name/ec/ecwolf/package.nix @@ -44,7 +44,12 @@ stdenv.mkDerivation (finalAttrs: { gtk3 ]; - NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework AppKit"; + env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { + NIX_LDFLAGS = toString [ + "-framework" + "AppKit" + ]; + }; # ECWolf installs its binary to the games/ directory, but Nix only adds bin/ # directories to the PATH. -- knotmirror 0.0.1