diff --git a/flake.lock b/flake.lock index 125af6031..af4e3703d 100644 --- a/flake.lock +++ b/flake.lock @@ -61,11 +61,11 @@ ] }, "locked": { - "lastModified": 1710154385, - "narHash": "sha256-4c3zQ2YY4BZOufaBJB4v9VBBeN2dH7iVdoJw8SDNCfI=", + "lastModified": 1717050755, + "narHash": "sha256-C9IEHABulv2zEDFA+Bf0E1nmfN4y6MIUe5eM2RCrDC0=", "owner": "nix-community", "repo": "gomod2nix", - "rev": "872b63ddd28f318489c929d25f1f0a3c6039c971", + "rev": "31b6d2e40b36456e792cd6cf50d5a8ddd2fa59a1", "type": "github" }, "original": { @@ -76,16 +76,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1710565619, - "narHash": "sha256-xu/EnZCNdIj7m/QjCNIG5vrCA4TYg5uwFReb9XDxET0=", + "lastModified": 1720096762, + "narHash": "sha256-KvpJIWxTNuaSpN2L/9TmTlEhlwxEnzJ1vCpEcfK/4mQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8ac30a39abc5ea67037dfbf090d6e89f187c6e50", + "rev": "638369f687471823770f6d3093f1721dc7b8c897", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-23.11", + "ref": "release-24.05", "repo": "nixpkgs", "type": "github" } @@ -121,11 +121,11 @@ ] }, "locked": { - "lastModified": 1709043057, - "narHash": "sha256-F/u9u1vevCUqgCz0WjcCOPcN+h9kLEP73nBqie86J2w=", + "lastModified": 1717601811, + "narHash": "sha256-+XQvDRXpzjBdZI3JGKP6SAOYXM+JSEbWL5kqtCwRJXE=", "owner": "joerdav", "repo": "xc", - "rev": "52cfa7e7f2d5a0d97b45a6f69ff1403a901e78c6", + "rev": "f8e8e658978d6c9fe49c27b684ca7375a74deef1", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1e9009feb..fd8a23869 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "templ"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; + nixpkgs.url = "github:NixOS/nixpkgs/release-24.05"; gomod2nix = { url = "github:nix-community/gomod2nix"; inputs.nixpkgs.follows = "nixpkgs"; @@ -41,7 +41,8 @@ templ = buildGoApplication { name = "templ"; src = gitignore.lib.gitignoreSource ./.; - go = pkgs.go_1_21; + # Update to latest Go version when https://nixpk.gs/pr-tracker.html?pr=324123 is backported to release-24.05. + go = pkgs.go; # Must be added due to bug https://github.com/nix-community/gomod2nix/issues/120 pwd = ./.; subPackages = [ "cmd/templ" ];