File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,16 @@ env_dir=./.env
16
16
[[ -d " $layout_dir " ]] || mkdir -p " $layout_dir "
17
17
18
18
if [[ ! -d " $env_dir " || ! -f " $layout_dir /nix-rebuild" || " $store_paths " != $( < " $layout_dir /nix-rebuild" ) ]]; then
19
+ bcmd=nix
19
20
if command -v nom & > /dev/null; then
20
21
if [[ " ${USE_NOM} " != " 0" ]]; then
21
- nom build -f nix wireServer.devEnv --out-link ./.env
22
+ bcmd= nom
22
23
fi
23
- else
24
- nix build -f nix wireServer.devEnv -Lv --out-link ./.env
25
24
fi
25
+ echo " π§ Building environment"
26
+ $bcmd build -f nix wireServer.devEnv -Lv --out-link ./.env
27
+ echo " π§ Building hs-run"
28
+ $bcmd build github:wireapp/ghc-flakr -Lv --out-link ./.env
26
29
echo " $store_paths " > " $layout_dir /nix-rebuild"
27
30
fi
28
31
Original file line number Diff line number Diff line change
1
+ adds a new executable, hs-run, to quickly run haskell scripts
Original file line number Diff line number Diff line change
1
+ use flake github:wireapp/ghc-flakr -Lv
You canβt perform that action at this time.
0 commit comments