From 2e3f2193c4ea7ae55afb8bcaecfc58440d4d6b06 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 20 Dec 2023 18:48:42 -0800 Subject: [PATCH] add nix shell --- .gitignore | 1 - shell.nix | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 shell.nix diff --git a/.gitignore b/.gitignore index 009ccf9..0691e21 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ keys.txt test .buildcmd .build-result -shell.nix *.dSYM *.zst testdata/many-events.json diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..905fd3c --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +{ pkgs ? import {} }: +with pkgs; +mkShell { + buildInputs = [ autoreconfHook flatbuffers flatcc pkg-config ]; + + LIBCLANG_PATH="${llvmPackages.libclang}/lib"; +}