You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
292 B
Nix
21 lines
292 B
Nix
3 years ago
|
{ pkgs ? import <nixpkgs> {} }:
|
||
|
|
||
|
let
|
||
|
rustPkgs = with pkgs; [
|
||
|
rustc
|
||
|
cargo
|
||
|
rustfmt
|
||
|
rust-analyzer
|
||
|
clippy
|
||
|
];
|
||
|
pkgDeps = with pkgs; [
|
||
|
openssl
|
||
|
pkgconfig
|
||
|
sqlite
|
||
|
];
|
||
|
in
|
||
|
pkgs.mkShell {
|
||
|
nativeBuildInputs = rustPkgs ++ pkgDeps;
|
||
|
RUST_BACKTRACE = 1;
|
||
|
}
|