forked from shuttle-hq/shuttle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
38 lines (37 loc) · 995 Bytes
/
shell.nix
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
35
36
37
38
let
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
# Pin to stable from https://status.nixos.org/
nixpkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/596a8e828c5dfa504f91918d0fa4152db3ab5502.tar.gz") { overlays = [ moz_overlay ]; };
in
with nixpkgs;
stdenv.mkDerivation {
name = "moz_overlay_shell";
nativeBuildInputs = with nixpkgs; [
pkg-config
openssl
];
buildInputs = with nixpkgs; [
((rustChannelOf{ channel = "1.74.0"; }).rust.override {
extensions = ["rust-src"];
targets = ["wasm32-wasi"];
})
cargo-watch
terraform
awscli2
websocat
protobuf
grpcurl
gh
docker-compose
docker
datadog-agent
sccache
sqlite
fastmod
pebble
kondo
];
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE="${protobuf}/include";
RUSTC_WRAPPER="sccache";
}