From e309091d17720b69c53172a41c0ea45ad7b66911 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 27 Jun 2024 16:13:41 +0530 Subject: cmd/bpf: init --- flake.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c7517df..115172a 100644 --- a/flake.nix +++ b/flake.nix @@ -16,9 +16,22 @@ default = pkgs.mkShell { name = "dev"; - buildInputs = with pkgs; [ go_1_22 gopls jq sqlite ]; + buildInputs = with pkgs; [ + go + gopls + + jq + sqlite + + libbpf + ccls + clang + libllvm + ]; shellHook = '' export PS1="\033[0;36m[ ]\033[0m $PS1" + # stop littering eBPF C programs with go:build ignore + export CGO_ENABLED=0 ''; }; }); -- cgit v1.2.3