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.
This commit is contained in:
parent
eb26e06e9b
commit
b974b808a0
1 changed files with 1 additions and 1 deletions
|
@ -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}";
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue