3p/tvl/tools/cheddar: apply aarch64 fix

This commit is contained in:
Luke Granger-Brown 2023-01-22 23:12:20 +00:00
parent 4fbb620a10
commit 2852daca04

View file

@ -8,6 +8,8 @@ depot.third_party.naersk.buildPackage {
# Use our custom bat syntax set, which is everything from upstream, # Use our custom bat syntax set, which is everything from upstream,
# plus additional languages we care about. # plus additional languages we care about.
BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}"; BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";
NIX_LDFLAGS = "${x.NIX_LDFLAGS or ""}${pkgs.lib.optionalString (pkgs.stdenv.isLinux && pkgs.stdenv.isAarch64 && pkgs.stdenv.cc.isGNU) " -lgcc"}";
}; };
passthru = { passthru = {