-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
57 lines (53 loc) · 1.64 KB
/
default.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
57
{ }:
let pkgs = import <nixpkgs> { };
in pkgs.stdenv.mkDerivation {
name = "Woost";
buildInputs = with pkgs; [
awscli
git
zsh
scala
sbt
docker
# graalvm8 # broken -> segfaults webpack
docker-compose
# python37Packages.docker_compose
# python27Packages.docker_compose
# python27Packages.backports_ssl_match_hostname
# ngrok # github app -> webhooks to localhost
nodejs-12_x
yarn
phantomjs
# Dev tools
#jetbrains.idea-community
# pgadmin -> does not compile in nixos-unstable
pgmanage
pgcli
# redis-dump
visualvm
];
installPhase = "";
shellHook = ''
echo --- Welcome to woost! ---
echo "Make sure you have the docker service running and added your user to the group 'docker'."
echo Now run ./start sbt
echo In the sbt prompt type: dev
echo Then point your browser to http://localhost:12345
#zsh -ic " \
# if [[ -f tokens.sh ]]; then; \
# source ./tokens.sh; \
# fi; \
# if [[ -f .zsh_completion ]]; then; \
# source ./.zsh_completion; \
# fi; \
# "
cat <<EOF
Cli:
You can build the cli with ./build-woost-cli.sh. Then run it with ./woost-cli
Requirement for running ./woost-cli:
# wget https://github.com/oracle/graal/releases/download/vm-1.0.0-rc14/graalvm-ce-1.0.0-rc14-linux-amd64.tar.gz
# tar -xvf graalvm-ce-1.0.0-rc14-linux-amd64.tar.gz
# export GRAAL_HOME=/path/to/graalvm-ce-1.0.0-rc14-linux-amd64
EOF
'';
}