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}"; +}