summaryrefslogtreecommitdiffstats
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2023-11-11 10:43:15 -0500
committerRandy Eckenrode <randy@largeandhighquality.com>2023-11-12 01:28:16 -0500
commitb974b808a02737b698496434dea05f44a1990001 (patch)
treefa5c6d551b52a515b53bc04d0322a08a9abec571 /pkgs/development/haskell-modules
parenteb26e06e9b4f8d9a173099699ef6b8602c22e329 (diff)
haskell-modules/generic-builder.nix: set `NIX_LDFLAGS` at the top level
This is a follow-up PR to #266172 to address the feedback left by @sternenseemann regarding `env`. Rebuilds on staging-next #263535 should be limited if there are any.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/generic-builder.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix
index 6cfd92fb4307..f8d8133ec28b 100644
--- a/pkgs/development/haskell-modules/generic-builder.nix
+++ b/pkgs/development/haskell-modules/generic-builder.nix
@@ -816,7 +816,7 @@ stdenv.mkDerivation ({
# Works around https://github.com/NixOS/nixpkgs/issues/166205.
# This can be dropped once a fix has been committed to cc-wrapper.
// lib.optionalAttrs (stdenv.cc.isClang && stdenv.cc.libcxx != null) {
- env.NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
+ NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
}
)
)