diff --git a/flake.lock b/flake.lock index 9a94933..a9b903f 100644 --- a/flake.lock +++ b/flake.lock @@ -19,11 +19,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1727140925, - "narHash": "sha256-ZHSasdLwEEjSOD/WTW1o7dr3/EjuYsdwYB4NSgICZ2I=", + "lastModified": 1733935885, + "narHash": "sha256-xyiHLs6KJ1fxeGmcCxKjJE4yJknVJxbC8Y/ZRYyC8WE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "189e5f171b163feb7791a9118afa778d9a1db81f", + "rev": "5a48e3c2e435e95103d56590188cfed7b70e108c", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index c58be7d..b077ab1 100644 --- a/flake.nix +++ b/flake.nix @@ -4,12 +4,11 @@ flake-utils.url = "flake-utils"; }; - outputs = { self, nixpkgs, flake-utils, ... }: + outputs = { nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; - overlays = [ self.overlays.default ]; }; in { @@ -17,6 +16,7 @@ packages = [ pkgs.delve pkgs.go_1_23 + pkgs.gotools # stringer, etc. (pkgs.gopls.override { buildGoModule = pkgs.buildGo123Module; }) @@ -25,15 +25,5 @@ hardeningDisable = [ "fortify" ]; }; } - ) // { - overlays.default = final: prev: { - go_1_23 = prev.go_1_23.overrideAttrs { - version = "1.23.2"; - src = prev.fetchurl { - url = "https://go.dev/dl/go1.23.2.src.tar.gz"; - hash = "sha256-NpMBYqk99BfZC9IsbhTa/0cFuqwrAkGO3aZxzfqc0H8="; - }; - }; - }; - }; + ); }