ali: unpin Go builder, mark broken on darwin

Undocumented why it would need the pinned toolchain, builds/runs fine with latest.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-03-27 19:19:11 +01:00
parent 1f0082fe19
commit 1cbbdfea6f

View File

@@ -1,10 +1,11 @@
{
lib,
buildGo122Module,
buildGoModule,
fetchFromGitHub,
stdenv,
}:
buildGo122Module rec {
buildGoModule rec {
pname = "ali";
version = "0.7.5";
@@ -25,5 +26,8 @@ buildGo122Module rec {
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ farcaller ];
mainProgram = "ali";
# Broken on darwin for Go toolchain > 1.22, with error:
# 'link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg'
broken = stdenv.hostPlatform.isDarwin;
};
}