mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00
18 lines
322 B
Nix
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";
|
|
}
|