Skip to content

Commit 310699d

Browse files
committed
fix(devbox): add installation commands for go-modernize and tempo-cli
1 parent e67fbd2 commit 310699d

File tree

2 files changed

+49
-45
lines changed

2 files changed

+49
-45
lines changed

devbox.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
"export GOROOT=$(go env GOROOT)",
1919
"echo '* Set Git hooks path\n'",
2020
"find .githooks -type f -exec chmod +x {} \\;",
21-
"git config core.hooksPath .githooks"
21+
"git config core.hooksPath .githooks",
22+
"echo '* Install go-modernize'",
23+
"go install golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest",
24+
"echo '* Install tempo-cli'",
25+
"go install github.com/indaco/tempo/cmd/tempo@latest"
2226
],
2327
"scripts": {
2428
"build": ["make build"],

devbox.lock

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -25,56 +25,56 @@
2525
"outputs": [
2626
{
2727
"name": "out",
28-
"path": "/nix/store/gzamqis9d24214c2br9g7vxqzgh309l4-git-2.48.1",
28+
"path": "/nix/store/pck1dr5jxrd5b8nmfasbn13z422jhcfm-git-2.48.1",
2929
"default": true
3030
},
3131
{
3232
"name": "debug",
33-
"path": "/nix/store/ch1rjq8rbjm2ipbxa2i5cpdc5c0raih6-git-2.48.1-debug"
33+
"path": "/nix/store/xqqsvzlilh843rm6knykyng81apapr33-git-2.48.1-debug"
3434
},
3535
{
3636
"name": "doc",
37-
"path": "/nix/store/3v7g1zdv24mziy2m4xymi0a9fwd8h8c9-git-2.48.1-doc"
37+
"path": "/nix/store/485b32ys0s2dvjfisn7405ildmpqvfzk-git-2.48.1-doc"
3838
}
3939
],
40-
"store_path": "/nix/store/gzamqis9d24214c2br9g7vxqzgh309l4-git-2.48.1"
40+
"store_path": "/nix/store/pck1dr5jxrd5b8nmfasbn13z422jhcfm-git-2.48.1"
4141
},
4242
"x86_64-darwin": {
4343
"outputs": [
4444
{
4545
"name": "out",
46-
"path": "/nix/store/5qmpmgx1fb1qxnq3gb1hvvha5wi24n7v-git-2.48.1",
46+
"path": "/nix/store/9qjzgsf9mvdp6sfd7xyzhgrahl2qhhp6-git-2.48.1",
4747
"default": true
4848
},
4949
{
5050
"name": "doc",
51-
"path": "/nix/store/x5x4qz04v9zfz9dzh8l723nbwma8dnmk-git-2.48.1-doc"
51+
"path": "/nix/store/cgv7qa0ix059ma9a0qac0bywfvl3k7k2-git-2.48.1-doc"
5252
}
5353
],
54-
"store_path": "/nix/store/5qmpmgx1fb1qxnq3gb1hvvha5wi24n7v-git-2.48.1"
54+
"store_path": "/nix/store/9qjzgsf9mvdp6sfd7xyzhgrahl2qhhp6-git-2.48.1"
5555
},
5656
"x86_64-linux": {
5757
"outputs": [
5858
{
5959
"name": "out",
60-
"path": "/nix/store/pl9krbxnhawd4n5kxsm6m5i5mjhbw48q-git-2.48.1",
60+
"path": "/nix/store/lqx2rv26sdndpa2vyy2vxsahj03km69z-git-2.48.1",
6161
"default": true
6262
},
6363
{
6464
"name": "doc",
65-
"path": "/nix/store/fkrfnnwc7a7rq86rrnb9j2474wy8qkbm-git-2.48.1-doc"
65+
"path": "/nix/store/hjczhs1dm3hzij7mx5c91rkzqvkb89av-git-2.48.1-doc"
6666
},
6767
{
6868
"name": "debug",
69-
"path": "/nix/store/s0a07h6m6lpcv67954y3vag35np716sf-git-2.48.1-debug"
69+
"path": "/nix/store/bk8xndavdnc2qgyvc6hcc8h29lk9jzqb-git-2.48.1-debug"
7070
}
7171
],
72-
"store_path": "/nix/store/pl9krbxnhawd4n5kxsm6m5i5mjhbw48q-git-2.48.1"
72+
"store_path": "/nix/store/lqx2rv26sdndpa2vyy2vxsahj03km69z-git-2.48.1"
7373
}
7474
}
7575
},
7676
"github:NixOS/nixpkgs/nixpkgs-unstable": {
77-
"resolved": "github:NixOS/nixpkgs/3549532663732bfd89993204d40543e9edaec4f2?lastModified=1742272065&narHash=sha256-ud8vcSzJsZ%2FCK%2Br8%2Fv0lyf4yUntVmDq6Z0A41ODfWbE%3D"
77+
"resolved": "github:NixOS/nixpkgs/eb0e0f21f15c559d2ac7633dc81d079d1caf5f5f?lastModified=1743259260&narHash=sha256-ArWLUgRm1tKHiqlhnymyVqi5kLNCK5ghvm06mfCl4QY%3D"
7878
},
7979
"gnumake@latest": {
8080
"last_modified": "2025-03-11T17:52:14Z",
@@ -105,24 +105,24 @@
105105
"outputs": [
106106
{
107107
"name": "out",
108-
"path": "/nix/store/1bpzdjww9yy9m3a1plxldg62wcjmk2xp-gnumake-4.4.1",
108+
"path": "/nix/store/jp96c7glhd39jvym2qxrrqbyjlbn4jg8-gnumake-4.4.1",
109109
"default": true
110110
},
111111
{
112112
"name": "man",
113-
"path": "/nix/store/08b54hn46qgaxb785f4a5xnglni14j09-gnumake-4.4.1-man",
113+
"path": "/nix/store/a5lgpaf6b9rm3czp8bv6fw84152rsk08-gnumake-4.4.1-man",
114114
"default": true
115115
},
116116
{
117117
"name": "debug",
118-
"path": "/nix/store/gjdnyxla25610y0k3wkkzmp95agz4rbi-gnumake-4.4.1-debug"
118+
"path": "/nix/store/yrfbzz0whhvibv18f2zb6a4l671ryrdk-gnumake-4.4.1-debug"
119119
},
120120
{
121121
"name": "info",
122-
"path": "/nix/store/c9fxaq63vkxfry9nsqa64lnzdmb8xx6x-gnumake-4.4.1-info"
122+
"path": "/nix/store/crfkqwk94z3mvshp5yigwgayxypr7rzr-gnumake-4.4.1-info"
123123
}
124124
],
125-
"store_path": "/nix/store/1bpzdjww9yy9m3a1plxldg62wcjmk2xp-gnumake-4.4.1"
125+
"store_path": "/nix/store/jp96c7glhd39jvym2qxrrqbyjlbn4jg8-gnumake-4.4.1"
126126
},
127127
"x86_64-darwin": {
128128
"outputs": [
@@ -147,24 +147,24 @@
147147
"outputs": [
148148
{
149149
"name": "out",
150-
"path": "/nix/store/a8vnc61fn22lcf8ln23g158s2jdf9q5p-gnumake-4.4.1",
150+
"path": "/nix/store/k0hhyz6qnj5065vpw15m4r7nbs0mn706-gnumake-4.4.1",
151151
"default": true
152152
},
153153
{
154154
"name": "man",
155-
"path": "/nix/store/rkq36a0zr4546n13068zshwzkqmd915j-gnumake-4.4.1-man",
155+
"path": "/nix/store/y87b22iwv64wrfpgyii4gjgbhcfqq0mi-gnumake-4.4.1-man",
156156
"default": true
157157
},
158158
{
159159
"name": "info",
160-
"path": "/nix/store/9dwcm8gsxy56jqza3ili85fd0m5d86bs-gnumake-4.4.1-info"
160+
"path": "/nix/store/33lvx5blf6ms1b6ynaln49hx1xksypxf-gnumake-4.4.1-info"
161161
},
162162
{
163163
"name": "debug",
164-
"path": "/nix/store/d4cy98k3ppkw4r0xy273hdlkyhhkgqp4-gnumake-4.4.1-debug"
164+
"path": "/nix/store/40rj5d3igp9fb80r4pg3gnkzj338rffa-gnumake-4.4.1-debug"
165165
}
166166
],
167-
"store_path": "/nix/store/a8vnc61fn22lcf8ln23g158s2jdf9q5p-gnumake-4.4.1"
167+
"store_path": "/nix/store/k0hhyz6qnj5065vpw15m4r7nbs0mn706-gnumake-4.4.1"
168168
}
169169
}
170170
},
@@ -217,98 +217,98 @@
217217
}
218218
},
219219
"golangci-lint@latest": {
220-
"last_modified": "2025-03-16T16:17:41Z",
221-
"resolved": "github:NixOS/nixpkgs/8f76cf16b17c51ae0cc8e55488069593f6dab645#golangci-lint",
220+
"last_modified": "2025-03-25T17:32:05Z",
221+
"resolved": "github:NixOS/nixpkgs/25d1b84f5c90632a623c48d83a2faf156451e6b1#golangci-lint",
222222
"source": "devbox-search",
223-
"version": "1.64.7",
223+
"version": "2.0.0",
224224
"systems": {
225225
"aarch64-darwin": {
226226
"outputs": [
227227
{
228228
"name": "out",
229-
"path": "/nix/store/34x05rpqww3l30wfnx2c5lg2j79kfjjw-golangci-lint-1.64.7",
229+
"path": "/nix/store/idv9cyl4i6w9n4sgc29kvqhywm04n1rz-golangci-lint-2.0.0",
230230
"default": true
231231
}
232232
],
233-
"store_path": "/nix/store/34x05rpqww3l30wfnx2c5lg2j79kfjjw-golangci-lint-1.64.7"
233+
"store_path": "/nix/store/idv9cyl4i6w9n4sgc29kvqhywm04n1rz-golangci-lint-2.0.0"
234234
},
235235
"aarch64-linux": {
236236
"outputs": [
237237
{
238238
"name": "out",
239-
"path": "/nix/store/bgqlln3xcjb5nxvvygd7ss7xmwyd3wqa-golangci-lint-1.64.7",
239+
"path": "/nix/store/r0jxwvqvk2999dx04v3j9jgd46jscqc4-golangci-lint-2.0.0",
240240
"default": true
241241
}
242242
],
243-
"store_path": "/nix/store/bgqlln3xcjb5nxvvygd7ss7xmwyd3wqa-golangci-lint-1.64.7"
243+
"store_path": "/nix/store/r0jxwvqvk2999dx04v3j9jgd46jscqc4-golangci-lint-2.0.0"
244244
},
245245
"x86_64-darwin": {
246246
"outputs": [
247247
{
248248
"name": "out",
249-
"path": "/nix/store/hff316fcclip9cwdjppcakx5fy83v7sj-golangci-lint-1.64.7",
249+
"path": "/nix/store/lsyy8arab3zvkpi8lr9303mf88y5k1rc-golangci-lint-2.0.0",
250250
"default": true
251251
}
252252
],
253-
"store_path": "/nix/store/hff316fcclip9cwdjppcakx5fy83v7sj-golangci-lint-1.64.7"
253+
"store_path": "/nix/store/lsyy8arab3zvkpi8lr9303mf88y5k1rc-golangci-lint-2.0.0"
254254
},
255255
"x86_64-linux": {
256256
"outputs": [
257257
{
258258
"name": "out",
259-
"path": "/nix/store/vdq0ixi31wm5ypfv2wbpn5p95ahr9cf8-golangci-lint-1.64.7",
259+
"path": "/nix/store/834gvbmhpwvy1d65r5x4xihkxm4g91ab-golangci-lint-2.0.0",
260260
"default": true
261261
}
262262
],
263-
"store_path": "/nix/store/vdq0ixi31wm5ypfv2wbpn5p95ahr9cf8-golangci-lint-1.64.7"
263+
"store_path": "/nix/store/834gvbmhpwvy1d65r5x4xihkxm4g91ab-golangci-lint-2.0.0"
264264
}
265265
}
266266
},
267267
"templ@latest": {
268-
"last_modified": "2025-02-23T09:42:26Z",
269-
"resolved": "github:NixOS/nixpkgs/2d068ae5c6516b2d04562de50a58c682540de9bf#templ",
268+
"last_modified": "2025-03-23T14:04:58Z",
269+
"resolved": "github:NixOS/nixpkgs/f3a2a0601e9669a6e38af25b46ce6c4563bcb6da#templ",
270270
"source": "devbox-search",
271-
"version": "0.3.833",
271+
"version": "0.3.850",
272272
"systems": {
273273
"aarch64-darwin": {
274274
"outputs": [
275275
{
276276
"name": "out",
277-
"path": "/nix/store/hfm05gc8cqfa0ai41h5ibdl38cpp4iy6-templ-0.3.833",
277+
"path": "/nix/store/0apq7wcy0hp1zw0drfnk7xgbw4l8fbbr-templ-0.3.850",
278278
"default": true
279279
}
280280
],
281-
"store_path": "/nix/store/hfm05gc8cqfa0ai41h5ibdl38cpp4iy6-templ-0.3.833"
281+
"store_path": "/nix/store/0apq7wcy0hp1zw0drfnk7xgbw4l8fbbr-templ-0.3.850"
282282
},
283283
"aarch64-linux": {
284284
"outputs": [
285285
{
286286
"name": "out",
287-
"path": "/nix/store/bir5sx0qak6sb4dm25candhcbipia007-templ-0.3.833",
287+
"path": "/nix/store/fmh0g0nh8ikbnfq21nzaxb7yqsbmpcbd-templ-0.3.850",
288288
"default": true
289289
}
290290
],
291-
"store_path": "/nix/store/bir5sx0qak6sb4dm25candhcbipia007-templ-0.3.833"
291+
"store_path": "/nix/store/fmh0g0nh8ikbnfq21nzaxb7yqsbmpcbd-templ-0.3.850"
292292
},
293293
"x86_64-darwin": {
294294
"outputs": [
295295
{
296296
"name": "out",
297-
"path": "/nix/store/lj68rc0hwbbfrskjbvgvzqji3bajnjkx-templ-0.3.833",
297+
"path": "/nix/store/plka4pqhzd7gnclmkiwhcm1zkbjan3fs-templ-0.3.850",
298298
"default": true
299299
}
300300
],
301-
"store_path": "/nix/store/lj68rc0hwbbfrskjbvgvzqji3bajnjkx-templ-0.3.833"
301+
"store_path": "/nix/store/plka4pqhzd7gnclmkiwhcm1zkbjan3fs-templ-0.3.850"
302302
},
303303
"x86_64-linux": {
304304
"outputs": [
305305
{
306306
"name": "out",
307-
"path": "/nix/store/2an85n9i2in58z4pmyvny6f3qbzymw3j-templ-0.3.833",
307+
"path": "/nix/store/vbghxx8ch821vz30wxh4li7f6314g7gg-templ-0.3.850",
308308
"default": true
309309
}
310310
],
311-
"store_path": "/nix/store/2an85n9i2in58z4pmyvny6f3qbzymw3j-templ-0.3.833"
311+
"store_path": "/nix/store/vbghxx8ch821vz30wxh4li7f6314g7gg-templ-0.3.850"
312312
}
313313
}
314314
}

0 commit comments

Comments
 (0)