Skip to content

Commit 7ddb785

Browse files
committed
Simpler Go 1.25 Nix support fix
Signed-off-by: jose.vazquez <[email protected]>
1 parent eff2354 commit 7ddb785

File tree

2 files changed

+61
-40
lines changed

2 files changed

+61
-40
lines changed

devbox.json

Lines changed: 33 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,36 @@
11
{
2-
"packages": [
3-
"yq-go@latest",
4-
5-
"jq@latest",
6-
"go@latest",
7-
"gotests@latest",
8-
"act@latest",
9-
"kubectl@latest",
10-
"docker@latest",
11-
12-
"git@latest",
13-
"gettext@latest",
14-
"wget@latest",
15-
"cosign@latest",
16-
"kubernetes-helm@latest",
17-
"govulncheck@latest",
18-
"gotools@latest",
19-
"ginkgo@latest",
20-
21-
"shellcheck@latest",
22-
"golangci-lint@2",
23-
24-
25-
"awscli2@latest",
26-
"docker-sbom@latest",
27-
"openshift@latest",
28-
"gh@latest",
29-
"addlicense@latest",
30-
"fd@latest"
31-
],
32-
"shell": {
33-
"init_hook": [
34-
"if test \"$(uname -s)\" = \"Darwin\"; then",
35-
" echo 'Shell Hook: Applying macOS + Nix + Go 1.25 CGO fix...'",
36-
" export CGO_ENABLED=0",
37-
" export BUILD_TAGS='netgo,osusergo'",
38-
"else",
39-
" echo 'Shell Hook: Not Darwin, skipping CGO fix. Using defaults.'",
40-
"fi"
41-
]
2+
"packages": {
3+
"yq-go": "latest",
4+
"kubebuilder": "4.1.1",
5+
"jq": "latest",
6+
"go": "latest",
7+
"gotests": "latest",
8+
"act": "latest",
9+
"kubectl": "latest",
10+
"docker": "latest",
11+
"kustomize": "4.3",
12+
"git": "latest",
13+
"gettext": "latest",
14+
"wget": "latest",
15+
"cosign": "latest",
16+
"kubernetes-helm": "latest",
17+
"govulncheck": "latest",
18+
"gotools": "latest",
19+
"ginkgo": "latest",
20+
"operator-sdk": "1.36.1",
21+
"shellcheck": "latest",
22+
"golangci-lint": "2",
23+
"kubernetes-controller-tools": "0.17.2",
24+
"setup-envtest": "0.19.0",
25+
"awscli2": "latest",
26+
"docker-sbom": "latest",
27+
"openshift": "latest",
28+
"gh": "latest",
29+
"addlicense": "latest",
30+
"fd": "latest",
31+
"apple-sdk_15": {
32+
"version": "15.2",
33+
"platforms": ["aarch64-darwin", "x86_64-darwin"]
34+
}
4235
}
4336
}

devbox.lock

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,34 @@
9797
}
9898
}
9999
},
100+
101+
"last_modified": "2025-09-18T16:33:27Z",
102+
"resolved": "github:NixOS/nixpkgs/f4b140d5b253f5e2a1ff4e5506edbf8267724bde#apple-sdk_15",
103+
"source": "devbox-search",
104+
"version": "15.2",
105+
"systems": {
106+
"aarch64-darwin": {
107+
"outputs": [
108+
{
109+
"name": "out",
110+
"path": "/nix/store/3w6k7waxdw7bv0l6ip0azfaskm5ibk4p-apple-sdk-15.2",
111+
"default": true
112+
}
113+
],
114+
"store_path": "/nix/store/3w6k7waxdw7bv0l6ip0azfaskm5ibk4p-apple-sdk-15.2"
115+
},
116+
"x86_64-darwin": {
117+
"outputs": [
118+
{
119+
"name": "out",
120+
"path": "/nix/store/jd692x02r6by0hckzqhjgjccj615dsn9-apple-sdk-15.2",
121+
"default": true
122+
}
123+
],
124+
"store_path": "/nix/store/jd692x02r6by0hckzqhjgjccj615dsn9-apple-sdk-15.2"
125+
}
126+
}
127+
},
100128
"awscli2@latest": {
101129
"last_modified": "2025-10-10T13:35:32Z",
102130
"resolved": "github:NixOS/nixpkgs/870493f9a8cb0b074ae5b411b2f232015db19a65#awscli2",

0 commit comments

Comments
 (0)