blob: 6c67ab5c783611f870a1f66603f3ec98ca0c0df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# SPDX-FileCopyrightText: V <v@unfathomable.blue>
# SPDX-FileCopyrightText: edef <edef@unfathomable.blue>
# SPDX-License-Identifier: OSL-3.0
with import ./nix;
let inherit (gcc) cc; in
mkShell {
packages = [
cargo
cargo-watch
clippy
# needed by rust-analyzer
rustc # core crate code
rustfmt # format-on-save
# needed by prost-build
protobuf
];
# needed by prost-build
PROTOC = "protoc";
MINITRACE_CC1 = "${cc}/libexec/gcc/x86_64-unknown-linux-gnu/${cc.version}/cc1";
}
|