nexttrace: unpin Go builder, mark broken on darwin

Seems like upsteam support for Go 1.23 was added in 69588b0d14,
project builds and run the help command.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-03-27 22:54:21 +01:00
parent b6729c8121
commit c5194f6441

View File

@@ -1,10 +1,11 @@
{
lib,
buildGo122Module,
buildGoModule,
fetchFromGitHub,
stdenv,
}:
buildGo122Module rec {
buildGoModule rec {
pname = "nexttrace";
version = "1.3.5";
@@ -34,5 +35,8 @@ buildGo122Module rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ sharzy ];
mainProgram = "nexttrace";
# Broken on darwin for Go toolchain > 1.22, with error:
# 'link: github.com/nxtrace/NTrace-core/trace/internal: invalid reference to net.internetSocket'
broken = stdenv.hostPlatform.isDarwin;
};
}