From ab097e08b758413b275e9946a13b8efc5a8ca0dd Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 19 Apr 2024 18:34:05 -0400 Subject: [PATCH] llvmPackages.libcxx: Fix FreeBSD build ce789e7e35e7cf72f5424f35d1b8b3ffcedd9226 wasn't quite right, because multiple outputs. --- pkgs/development/compilers/llvm/common/libcxx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/common/libcxx/default.nix b/pkgs/development/compilers/llvm/common/libcxx/default.nix index de895125f883..0e91f50551c5 100644 --- a/pkgs/development/compilers/llvm/common/libcxx/default.nix +++ b/pkgs/development/compilers/llvm/common/libcxx/default.nix @@ -124,7 +124,7 @@ stdenv.mkDerivation (rec { # libc++.so.1 and libc++abi.so or the external cxxabi. ld-wrapper doesn't # support linker scripts so the external cxxabi needs to be symlinked in postInstall = lib.optionalString (cxxabi != null) '' - lndir ${lib.getDev cxxabi}/include $out/include/c++/v1 + lndir ${lib.getDev cxxabi}/include $dev/include/c++/v1 lndir ${lib.getLib cxxabi}/lib $out/lib '';