···8 sha256 = "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg";
9 };
1000000011 meta = with lib; {
12 description = "TFTP tools - a lot of fixes on top of BSD TFTP";
13 maintainers = with maintainers; [ raskin ];
···8 sha256 = "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg";
9 };
1011+ # Workaround build failure on -fno-common toolchains like upstream
12+ # gcc-10. Otherwise build fails as:
13+ # ld: main.o:/build/tftp-hpa-5.2/tftp/main.c:98: multiple definition of
14+ # `toplevel'; tftp.o:/build/tftp-hpa-5.2/tftp/tftp.c:51: first defined here
15+ NIX_CFLAGS_COMPILE="-fcommon";
16+17 meta = with lib; {
18 description = "TFTP tools - a lot of fixes on top of BSD TFTP";
19 maintainers = with maintainers; [ raskin ];