zerotierone: add -lgcc to NIX_LDFLAGS

This is required to workaround #201254
This commit is contained in:
misuzu 2023-01-17 21:45:49 +02:00
parent 6dccdc4585
commit ba3db3e473

View file

@ -79,6 +79,9 @@ replace-with = "vendored-sources"' >> ./zeroidc/.cargo/config.toml
outputs = [ "out" "man" ];
# https://github.com/NixOS/nixpkgs/issues/201254
NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc";
meta = with lib; {
description = "Create flat virtual Ethernet networks of almost unlimited size";
homepage = "https://www.zerotier.com";