boost-build: fix darwin build

authored by Stéphan Kochen and committed by Jonathan Ringer 4c201a5e cd66ac5f

+17
+12
pkgs/development/tools/boost-build/darwin-default-toolset.patch
··· 1 + diff --git a/src/build-system.jam b/src/build-system.jam 2 + index 60425c54..c6842217 100644 3 + --- a/src/build-system.jam 4 + +++ b/src/build-system.jam 5 + @@ -644,7 +644,7 @@ local rule should-clean-project ( project ) 6 + } 7 + else if [ os.name ] = MACOSX 8 + { 9 + - default-toolset = darwin ; 10 + + default-toolset = clang-darwin ; 11 + } 12 + }
+5
pkgs/development/tools/boost-build/default.nix
··· 15 15 sha256 = "1r4rwlq87ydmsdqrik4ly5iai796qalvw7603mridg2nwcbbnf54"; 16 16 }; 17 17 18 + patches = [ 19 + # Upstream defaults to gcc on darwin, but we use clang. 20 + ./darwin-default-toolset.patch 21 + ]; 22 + 18 23 nativeBuildInputs = [ 19 24 bison 20 25 ];