taptrade-core/shell.nix
2024-06-05 10:29:32 +02:00

15 lines
373 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
pkg-config
zlib
openssl
cargo
rustc
rustfmt
gcc
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}
# For VSCode and Rust Analyzer use the Extension "Nix Environment Selector"