sqlx/shell.nix
2020-03-20 23:51:45 -07:00

18 lines
322 B
Nix

with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "rust-env";
env = buildEnv { name = name; paths = buildInputs; };
buildInputs = [
latest.rustChannels.nightly.rust
openssl
fish
pkg-config
protobuf
];
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
}