blob: 96ed84fefcea6cbff886992499f1fd34fc8db933 (
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
28
29
30
31
|
# 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 fuser
pkgconfig
fuse
];
# needed by prost-build
PROTOC = "protoc";
MINITRACE_CC1 = "${cc}/libexec/gcc/x86_64-unknown-linux-gnu/${cc.version}/cc1";
}
|