diff --git a/default.nix b/default.nix index 6984378..003cb16 100644 --- a/default.nix +++ b/default.nix @@ -1,11 +1,11 @@ {buildGoModule}: buildGoModule { - pname = "sample-go"; + pname = "go-grep-cache"; version = "0.0.1"; src = ./.; - vendorHash = null; + vendorHash = "sha256-gJ0+2ZSng9/6hQ6hUqcNnwwaWSBWoXP9DgaNtq/lWXQ="; ldflags = ["-s" "-w"]; } diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..51e66da --- /dev/null +++ b/flake.lock @@ -0,0 +1,26 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1698326157, + "narHash": "sha256-FRtEwiGZ9MXz5N58yELqaL+MrvBpDFuKsgIkH56p51s=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "064419789ff197042d9ff894892b87d63594c6d7", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +}