Skip to content

Commit 935033d

Browse files
committed
chore: bump dependencies
1 parent 799d461 commit 935033d

File tree

5 files changed

+47
-25
lines changed

5 files changed

+47
-25
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.924
1+
0.3.925

flake.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
inputs.nixpkgs.follows = "nixpkgs";
1010
};
1111
version = {
12-
url = "github:a-h/version/0.0.8";
12+
url = "github:a-h/version/0.0.10";
1313
inputs.nixpkgs.follows = "nixpkgs";
1414
};
1515
xc = {
@@ -28,20 +28,32 @@
2828
];
2929
forAllSystems = f: nixpkgs.lib.genAttrs allSystems (system: f {
3030
inherit system;
31-
pkgs = import nixpkgs { inherit system; };
32-
pkgs-unstable = import nixpkgs-unstable { inherit system; };
31+
pkgs =
32+
let
33+
pkgs-unstable = import nixpkgs-unstable { inherit system; };
34+
in
35+
import nixpkgs {
36+
inherit system;
37+
overlays = [
38+
(final: prev: {
39+
gopls = pkgs-unstable.gopls;
40+
version = version.packages.${system}.default; # Used to apply version numbers to the repo.
41+
xc = xc.packages.${system}.xc;
42+
})
43+
];
44+
};
3345
});
3446
in
3547
{
36-
packages = forAllSystems ({ system, pkgs, ... }:
48+
packages = forAllSystems ({ pkgs, ... }:
3749
rec {
3850
default = templ;
3951

4052
templ = pkgs.buildGo124Module {
4153
name = "templ";
4254
subPackages = [ "cmd/templ" ];
4355
src = gitignore.lib.gitignoreSource ./.;
44-
vendorHash = "sha256-oObzlisjvS9LeMYh3DzP+l7rgqBo9bQcbNjKCUJ8rcY=";
56+
vendorHash = "sha256-eJV0q+qG1QETydYtE6hipuxyp+P649RzF36Jc4qe8e4=";
4557
env = {
4658
CGO_ENABLED = 0;
4759
};
@@ -57,20 +69,20 @@
5769
});
5870

5971
# `nix develop` provides a shell containing development tools.
60-
devShell = forAllSystems ({ system, pkgs, pkgs-unstable, ... }:
72+
devShell = forAllSystems ({ pkgs, ... }:
6173
pkgs.mkShell {
6274
buildInputs = [
6375
pkgs.golangci-lint
6476
pkgs.cosign # Used to sign container images.
6577
pkgs.esbuild # Used to package JS examples.
6678
pkgs.go
67-
pkgs-unstable.gopls
79+
pkgs.gopls
6880
pkgs.goreleaser
6981
pkgs.gotestsum
7082
pkgs.ko # Used to build Docker images.
7183
pkgs.nodejs # Used to build templ-docs.
72-
version.packages.${system}.default # Used to apply version numbers to the repo.
73-
xc.packages.${system}.xc
84+
pkgs.version
85+
pkgs.xc
7486
];
7587
});
7688

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ require (
1616
github.com/natefinch/atomic v1.0.1
1717
github.com/rs/cors v1.11.0
1818
github.com/stretchr/testify v1.10.0
19-
golang.org/x/mod v0.24.0
20-
golang.org/x/net v0.39.0
21-
golang.org/x/sync v0.13.0
22-
golang.org/x/tools v0.32.0
19+
golang.org/x/mod v0.26.0
20+
golang.org/x/net v0.42.0
21+
golang.org/x/sync v0.16.0
22+
golang.org/x/tools v0.35.0
2323
)
2424

2525
require (
2626
github.com/davecgh/go-spew v1.1.1 // indirect
2727
github.com/mattn/go-colorable v0.1.13 // indirect
2828
github.com/mattn/go-isatty v0.0.20 // indirect
2929
github.com/pmezard/go-difflib v1.0.0 // indirect
30-
golang.org/x/sys v0.32.0 // indirect
30+
golang.org/x/sys v0.34.0 // indirect
3131
gopkg.in/yaml.v3 v3.0.1 // indirect
3232
)
3333

go.sum

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,26 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
3131
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
3232
golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
3333
golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
34+
golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg=
35+
golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ=
3436
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
3537
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
38+
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
39+
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
3640
golang.org/x/sync v0.13.0 h1:AauUjRAJ9OSnvULf/ARrrVywoJDy0YS2AwQ98I37610=
3741
golang.org/x/sync v0.13.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
42+
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
43+
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
3844
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
3945
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
4046
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
4147
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
48+
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
49+
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
4250
golang.org/x/tools v0.32.0 h1:Q7N1vhpkQv7ybVzLFtTjvQya2ewbwNDZzUgfXGqtMWU=
4351
golang.org/x/tools v0.32.0/go.mod h1:ZxrU41P/wAbZD8EDa6dDCa6XfpkhJ7HFMjHJXfBDu8s=
52+
golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0=
53+
golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw=
4454
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
4555
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4656
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

0 commit comments

Comments
 (0)