feat: Add shell.nix

This commit is contained in:
Max Hausch
2024-02-13 21:42:01 +01:00
parent ba2609cec5
commit 0dfa3ec904
+14
View File
@@ -0,0 +1,14 @@
with import <nixpkgs> {};
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}";
}