2022-02-19 16:30:12 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
# rust
|
|
|
|
cargo
|
|
|
|
cargo-watch
|
|
|
|
rustc
|
|
|
|
rust-analyzer
|
|
|
|
rustfmt
|
|
|
|
|
|
|
|
# system
|
|
|
|
pkg-config
|
|
|
|
openssl
|
|
|
|
cmake
|
|
|
|
|
|
|
|
# dhall
|
|
|
|
dhall
|
|
|
|
dhall-json
|
2022-02-19 19:03:04 +00:00
|
|
|
|
|
|
|
jo
|
2022-02-19 16:30:12 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
RUST_LOG = "info";
|
|
|
|
RUST_SRC_PATH = "${pkgs.rustPlatform.rustLibSrc}";
|
|
|
|
}
|