Skip to content

Commit

Permalink
Change default cc from gcc to stdenv.cc.cc to reduce closure size on …
Browse files Browse the repository at this point in the history
…darwin

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
  • Loading branch information
bergkvist and pennae authored Dec 9, 2021
1 parent ceffea6 commit 39b0aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ in
makeSetupHook { deps = [ dieHook ]; } script;
in
lib.makeOverridable f {
cc = gcc;
cc = stdenv.cc.cc;
sanitizers = [ "undefined" "address" ];
};

Expand Down

0 comments on commit 39b0aa4

Please sign in to comment.