blob: 01fd22d113a03ac4edab8557cb5b85d4ca9cd272 (
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
35
|
{ example ? "1", ... }:
let
moz_overlay = import (
builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz
);
pkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
in
pkgs.mkShell {
buildInputs = with (pkgs.rustChannelOf { channel = "1.50.0"; }); [
rust-std
rust
rustc
cargo
]
++ (with pkgs; [
diesel-cli
pgcli
postgresql
cmake
curl
gcc
openssl
pkgconfig
which
zlib
]);
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib";
}
|