From f4579bdf8db6f5d087bd5c9e988a4de9f21b2de4 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 7 Aug 2024 18:49:01 +1200 Subject: [PATCH] stdenv: Fix args.env.NIX_CFLAGS_LINK/args.NIX_CFLAGS_LINK typo --- pkgs/stdenv/adapters.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/adapters.nix b/pkgs/stdenv/adapters.nix index 7e1ce67539b4..57c74fee233d 100644 --- a/pkgs/stdenv/adapters.nix +++ b/pkgs/stdenv/adapters.nix @@ -104,7 +104,7 @@ rec { NIX_CFLAGS_LINK = toString args.env.NIX_CFLAGS_LINK + " -static"; }; } else { - NIX_CFLAGS_LINK = toString (args.env.NIX_CFLAGS_LINK or "") + " -static"; + NIX_CFLAGS_LINK = toString (args.NIX_CFLAGS_LINK or "") + " -static"; } // lib.optionalAttrs (!(args.dontAddStaticConfigureFlags or false)) { configureFlags = (args.configureFlags or []) ++ [ "--disable-shared" # brrr...