diff --git a/flake.lock b/flake.lock index 491e53f7..29505fc3 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1711703276, - "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", + "lastModified": 1723362943, + "narHash": "sha256-dFZRVSgmJkyM0bkPpaYRtG/kRMRTorUIDj8BxoOt1T4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", + "rev": "a58bc8ad779655e790115244571758e8de055e3d", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index bb621920..7c0eac71 100644 --- a/flake.nix +++ b/flake.nix @@ -15,17 +15,19 @@ src = ./.; ldflags = [ "-s" "-w" "-X main.version=dev" "-X main.builtBy=flake" ]; doCheck = false; - vendorHash = "sha256-g57tLk2+WWcdG0COqkQD7eLYG0TdC0RnlhLF6Qt4woY="; + vendorHash = ""; }; devShells.default = pkgs.mkShell { + shellHook = "go mod tidy"; + }; + + # nix develop .#dev + devShells.dev = pkgs.mkShell { packages = with pkgs; [ - go go-task gofumpt - nix-prefetch ]; - shellHook = "go mod tidy"; }; # nix develop .#packagers