blob: cc9c44e1dc80d18732ce87e8c17c6775628f5d63 (
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
32
33
34
|
# 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 git2
openssl
];
# needed by prost-build
PROTOC = "protoc";
MINITRACE_CC1 = "${cc}/libexec/gcc/x86_64-unknown-linux-gnu/${cc.version}/cc1";
}
|