From 3e1ac0716c3b678f0e1af74684d41c7bc1f90c76 Mon Sep 17 00:00:00 2001 From: ElrohirGT Date: Sat, 1 Feb 2025 13:26:48 -0600 Subject: [PATCH 1/2] fix: Updated go template --- go-hello/flake.nix | 2 +- go-hello/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go-hello/flake.nix b/go-hello/flake.nix index f76ae18..4382c75 100644 --- a/go-hello/flake.nix +++ b/go-hello/flake.nix @@ -2,7 +2,7 @@ description = "A simple Go package"; # Nixpkgs / NixOS version to use. - inputs.nixpkgs.url = "nixpkgs/nixos-21.11"; + inputs.nixpkgs.url = "nixpkgs/nixos-24.11"; outputs = { self, nixpkgs }: let diff --git a/go-hello/go.mod b/go-hello/go.mod index ea79ba3..e4c2071 100644 --- a/go-hello/go.mod +++ b/go-hello/go.mod @@ -1,3 +1,3 @@ module example.com/go-hello -go 1.16 +go 1.23 From f2f7e8df96fc366be3f5cb5ddae463e125d0f9ab Mon Sep 17 00:00:00 2001 From: ElrohirGT Date: Sat, 1 Feb 2025 13:36:03 -0600 Subject: [PATCH 2/2] fix: Removed vendorHash as suggested by nix build error --- go-hello/flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-hello/flake.nix b/go-hello/flake.nix index 4382c75..016e8f2 100644 --- a/go-hello/flake.nix +++ b/go-hello/flake.nix @@ -48,7 +48,7 @@ # remember to bump this hash when your dependencies change. # vendorHash = pkgs.lib.fakeHash; - vendorHash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + vendorHash = null; }; });