golink: fails to build under Golang 1.27
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- build-system
Research direction
Find the golink package definition in Nixpkgs and inspect its source revision and dependency handling. Start by comparing the reported upstream commit with the package’s current version; the build logs identify the vendored Go JSON dependency failures. Update the package to a compatible upstream revision or dependency set, then confirm the package builds under Go 1.27.
Written by the indexing model from the issue text.
Description
Nixpkgs version
Unstable (26.11)
Describe the bug
> Building subPackage .
> # github.com/go-json-experiment/json
> vendor/github.com/go-json-experiment/json/alias.go:618:21: undefined: json.SkipFunc
> vendor/github.com/go-json-experiment/json/alias.go:957:14: undefined: json.DiscardUnknownMembers
I believe the issue is that these were removed in 1.27.
Upstream had to bump dependencies when they changed their Golang version: https://github.com/tailscale/golink/commit/2a5a7c18f5b3ce3e56220d446876e6a386979f40
It may be necessary to roll up the golink version to that revision.
Steps to reproduce
Builds are failing in hydra for all three architectures, for example:
https://hydra.nixos.org/log/51yxcmqs3b5srya09rh9x81gql0nipwq-golink-1.0.0-unstable-2026-07-03.drv
https://hydra.nixos.org/log/c90xcz90dacxpsfc76q6jd7w5vvl77sf-golink-1.0.0-unstable-2026-07-03.drv
https://hydra.nixos.org/log/083yl02kll40cck8z3lisd3ysk8cxg3g-golink-1.0.0-unstable-2026-07-03.drv
Expected behaviour
Things in NixOS should build.
System metadata
- system:
"aarch64-linux" - host os:
Linux 7.3.1, NixOS, 26.11 (Zokor), 26.11.20261105.f9a75f4 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.9 - channels(root):
"" - nixpkgs:
/nix/store/4rwf9a42lpij7vhpwxjz8nzb3cpkf4zx-source
Notify maintainers
@fab
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
- Dominant language
- Nix
- Stars
- 26.8k
- Forks
- 20.7k
- Avg merge
- 6h 55m
- Merged PRs (30d)
- 535
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NixOS/nixpkgs
-
0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
NixOS/nixpkgs#587434 · 1 comment ·
Maintainers usually reply within 1 day
-
0.kind: enhancement 9.needs: package (update)
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
NixOS/nixpkgs#587416 · 1 reaction ·
Maintainers usually reply within 1 day
-
1.severity: security
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
Similar issues
-
just: test-quest-combat exits 1 without the combat script libraries after every host test passedOpenbacklog bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2665 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
dependencies severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TMHSDigital/Static_Chess#39 ·
-
dependencies good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
TMHSDigital/GH-Arcade#27 ·
-
area:build bug effort:low P7 source:agent
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day