all: sync up with other Rust repos

This commit is contained in:
Harsh Shandilya 2022-02-06 16:11:20 +05:30
parent e0deedafca
commit 593a73a506
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
9 changed files with 161 additions and 88 deletions

15
shell.nix Normal file
View file

@ -0,0 +1,15 @@
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
RUSTFLAGS = "";
buildInputs = [
(rust-bin.selectLatestNightlyWith (toolchain:
toolchain.default.override {
extensions = [ "rust-src" "rustfmt-preview" ];
}))
pkg-config
openssl
clang_12
] ++ lib.optionals stdenv.isDarwin [
pkgs.darwin.apple_sdk.frameworks.Security
];
}