-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathshell.nix
More file actions
44 lines (41 loc) · 743 Bytes
/
shell.nix
File metadata and controls
44 lines (41 loc) · 743 Bytes
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
39
40
41
42
43
44
let
pkgs = import <nixpkgs> { };
pinnedNixpkgs = pkgs.lib.importJSON ./nixpkgs.json;
in
with import (
builtins.fetchTarball {
url = pinnedNixpkgs.url;
sha256 = pinnedNixpkgs.sha256;
}
) { };
mkShell rec {
buildInputs = [
autoconf
automake
coreutils
direnv
entr
glibcLocales
go-ethereum
gmp
grc
jq
libffi
libtool
locale
openssl
# overmind
(callPackage ./hivemind.nix { })
pipenv
pkgconfig
secp256k1
solc
];
shellHook = ''
# Inside docker or with 'nix-shell --pure' we need to set a locale to
# prevent python CLIs that depend on 'click' (e. g. pipenv) from failing.
if [ -z "$LANG" ]; then
export LANG="en_US.UTF-8"
fi
'';
}