Skip to content

Commit

Permalink
Fix Darwin attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Nov 24, 2020
1 parent dba7836 commit ae1a255
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixpkgs/toolchains/cc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ let
rm -f $out/bin/cc $out/bin/clang $out/bin/clang++
makeWrapper ${pkgs.stdenv.cc}/bin/cc $out/bin/cc --add-flags \
"-Wno-unused-command-line-argument \
-isystem ${pkgs.darwin.apple_sdk.frameworks.llvmPackages.libcxx}/include/c++/v1 \
-isystem ${pkgs.llvmPackages.libcxx}/include/c++/v1 \
-F${pkgs.darwin.apple_sdk.frameworks.CoreFoundation}/Library/Frameworks \
-F${pkgs.darwin.apple_sdk.frameworks.CoreServices}/Library/Frameworks \
-F${pkgs.darwin.apple_sdk.frameworks.Security}/Library/Frameworks \
-F${pkgs.darwin.apple_sdk.frameworks.Foundation}/Library/Frameworks \
-L${pkgs.darwin.apple_sdk.frameworks.libcxx}/lib \
-L${pkgs.darwin.apple_sdk.frameworks.darwin.libobjc}/lib"
-L${pkgs.libcxx}/lib \
-L${pkgs.darwin.libobjc}/lib"
'';
cc =
if ccType == "ccTypeAttribute" then
Expand Down

0 comments on commit ae1a255

Please sign in to comment.