From 6bda1a3ef42875b101bc178fc09b85836fb6514f Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Fri, 24 May 2024 15:22:01 -0400 Subject: [PATCH] boost: fix Darwin cross-compilation b2 tries to invoke the linker without a prefix, which fails. --- pkgs/development/libraries/boost/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index 9c6fb3e67203..94ee8c236423 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -181,6 +181,8 @@ stdenv.mkDerivation { cat << EOF >> user-config.jam using clang-darwin : : ${stdenv.cc.targetPrefix}c++ : "-rpath $out/lib/" + $AR + $RANLIB ; EOF ''