From 0dfa3ec9040d4200bbeab2b6ff30b72b3b229fa4 Mon Sep 17 00:00:00 2001 From: Max Hausch Date: Tue, 13 Feb 2024 21:36:23 +0100 Subject: [PATCH] feat: Add shell.nix --- shell.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..5defdd9 --- /dev/null +++ b/shell.nix @@ -0,0 +1,14 @@ +with import {}; +mkShell { + name = "zerotier-rust-api"; + buildInputs = with pkgs; [ + cacert + cargo + curl + openssl + pkg-config + ]; + + PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig"; + RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; +}