File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ store_paths=$(echo "$nix_files" | xargs nix-store --add ./nix)
13
13
layout_dir=$( direnv_layout_dir)
14
14
env_dir=./.env
15
15
16
- export NIX_CONFIG=' extra-experimental-features = nix-command flakes '
16
+ export NIX_CONFIG=' extra-experimental-features = nix-command'
17
17
18
18
[[ -d " $layout_dir " ]] || mkdir -p " $layout_dir "
19
19
20
- if [[ ! -d " $env_dir " || ! -d " ./.env-hs-run " || ! - f " $layout_dir /nix-rebuild" || " $store_paths " != $( < " $layout_dir /nix-rebuild" ) ]]; then
20
+ if [[ ! -d " $env_dir " || ! -f " $layout_dir /nix-rebuild" || " $store_paths " != $( < " $layout_dir /nix-rebuild" ) ]]; then
21
21
bcmd=nix
22
22
if command -v nom & > /dev/null; then
23
23
if [[ " ${USE_NOM} " != " 0" ]]; then
@@ -26,8 +26,6 @@ if [[ ! -d "$env_dir" || ! -d "./.env-hs-run" || ! -f "$layout_dir/nix-rebuild"
26
26
fi
27
27
echo " 🔧 Building environment"
28
28
$bcmd build -f nix wireServer.devEnv -Lv --out-link ./.env
29
- echo " 🔧 Building hs-run"
30
- $bcmd build github:wireapp/ghc-flakr -Lv --out-link ./.env-hs-run
31
29
echo " $store_paths " > " $layout_dir /nix-rebuild"
32
30
fi
33
31
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env -S nix -Lv run github:wireapp/ghc-flakr/ecb1f45f1549e06c92d71164e305ce501eb0e36e
1
+ #!/usr/bin/env -S nix -Lv run github:wireapp/ghc-flakr/ecb1f45f1549e06c92d71164e305ce501eb0e36e --extra-experimental-features flakes
2
2
{-# LANGUAGE BlockArguments #-}
3
3
{-# LANGUAGE ImportQualifiedPost #-}
4
4
{-# LANGUAGE OverloadedStrings #-}
You can’t perform that action at this time.
0 commit comments