Signed-off-by: Finn Behrens <m...@kloenk.de> --- flake.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/flake.nix b/flake.nix index bdaa4bf..e6ad966 100644 --- a/flake.nix +++ b/flake.nix @@ -27,5 +27,25 @@ }; formatter = pkgs.nixfmt; + + devShells.default = pkgs.callPackage ({ mkShell, rustc, cargo, gnumake + , gcc, clang, pkg-config, libuuid, libsodium, keyutils, liburcu, zlib + , libaio, zstd, lz4, udev, }: + mkShell { + LIBCLANG_PATH = "${clang.cc.lib}/lib"; + nativeBuildInputs = [ rustc cargo gnumake gcc pkg-config ]; + buildInputs = [ + clang.cc.lib + libuuid + libsodium + keyutils + liburcu + zlib + libaio + zstd + lz4 + udev + ]; + }) { }; }); } -- 2.42.0