forked from shuttle-hq/shuttle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
36 lines (35 loc) · 948 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
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; [
openssl
pkg-config
];
buildInputs = with nixpkgs; [
((rustChannelOf{ channel = "1.65.0"; }).rust.override {
extensions = ["rust-src"];
})
cargo-watch
terraform
awscli2
websocat
protobuf
grpcurl
gh
docker-compose
docker
datadog-agent
sccache
sqlite
fastmod
pebble
];
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE="${protobuf}/include";
RUSTC_WRAPPER="sccache";
}