diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-11-14 07:36:14 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-11-14 07:36:14 +0100 |
commit | b68f7e4ca4e56161b861296e0b9e98399a74d6fc (patch) | |
tree | 3ba0aede8579bd9a1833e1a2414d44da38dc3450 /pkgs/development/haskell-modules | |
parent | 1c5b46d103fca1e11cec262eafbffc37496a1e2a (diff) | |
parent | b974b808a02737b698496434dea05f44a1990001 (diff) |
Merge #266878: haskell-modules/generic-builder.nix: set NIX_LDFLAGS top-level
...into staging-next
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 2 |
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 c840215f9178..0b8af6ba6de4 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -822,7 +822,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}"; } ) ) |