Skip to content

Commit

Permalink
open-watcom: cope with !(stdenv.cc.libcxx?cxxabi)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Jan 20, 2024
1 parent 8670f50 commit ad34020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/open-watcom/v2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
];

# Work around https://github.com/NixOS/nixpkgs/issues/166205
env.NIX_LDFLAGS = lib.optionalString (stdenv.cc.isClang && stdenv.cc.libcxx != null) "-l${stdenv.cc.libcxx.cxxabi.libName}";
env.NIX_LDFLAGS = lib.optionalString (stdenv.cc.isClang && stdenv.cc.libcxx != null && stdenv.cc.libcxx?cxxabi.libName) "-l${stdenv.cc.libcxx.cxxabi.libName}";

configurePhase = ''
runHook preConfigure
Expand Down

0 comments on commit ad34020

Please sign in to comment.