-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
56 lines (46 loc) · 1.29 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
pkgs ? import ./nix/pkgs.nix
}:
# let
# inherit (import ./default.nix {}) rootYarnModules;
# in
pkgs.mkShell rec {
buildInputs = with pkgs; [
pkgs.path # nixpkgs path, not dependency, add nixpkgs source to gc-root and prevent it to be gc collected
# rootYarnModules
gnumake
git
nix
arion
yarn2nix.yarn2nix
docker
docker-compose
docker-volume-rm-if-exists
nodejs
yarn
# for building c++ extensions (from https://matrix.ai/2018/03/24/developing-with-nix/)
nodePackages.node-gyp
nodePackages.node-gyp-build
nodePackages.node-pre-gyp
waitforit
wait-for-postgres
shmig
db-tests-prepare
pg_prove
dump-schema
postgresql
chromedriver
chromium
(import ./dev-commands/all-commands.nix { inherit pkgs; })
];
# TODO: return
# NIX_PATH = pkgs.lib.concatStringsSep ":" [
# "nixpkgs=${toString pkgs.path}"
# ];
# HISTFILE = toString ./.bash_hist;
# CHROMEDRIVER_SKIP_DOWNLOAD = "true";
# export PATH="${pkgs.rootProjectDir}/node_modules/.bin/:/home/srghma/projects/purescript/.stack-work/install/x86_64-linux-nix/ec68e55b45064aeed36ab3915e14fec1f60a3e92e42a196c7c6c1d57d1e2655d/8.6.5/bin/:$PATH"
# shellHook = ''
# export PATH="${pkgs.rootProjectDir}/node_modules/.bin/:$PATH"
# '';
}