diff --git a/flake.nix b/flake.nix index 20b15a2bf5adf44d59e39b350703b5e56ca8ebe9..acf7c5729ff1eae133fc50afcc8f7f57c34a8f01 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,5 @@ { inputs = { - # Nixpkgs hell nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; utils.url = "github:numtide/flake-utils"; }; diff --git a/package.nix b/package.nix index 7dd1e6278a0a420cf1fba58a352b719d5cae4482..721f35f840570c67c08e12c0f411469ee2e6fca2 100644 --- a/package.nix +++ b/package.nix @@ -1,19 +1,21 @@ { fetchFromGitHub, + lib, + + # libs compiled with cgo libassuan, gpgme, - buildGoModule, # build tools + buildGoModule, unzip, golangci-lint, gotools, # deadcode, staticcheck go-licenses, - protobuf_24, # protobuf hell + protobuf_24, protoc-gen-go, protoc-gen-go-grpc, grpc-gateway, - lib, ... }: let