Skip to content

Commit

Permalink
[fix] remove the nom change
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed Nov 2, 2023
1 parent ebd6b13 commit 09bb8e5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ env_dir=./.env
[[ -d "$layout_dir" ]] || mkdir -p "$layout_dir"

if [[ ! -d "$env_dir" || ! -f "$layout_dir/nix-rebuild" || "$store_paths" != $(< "$layout_dir/nix-rebuild" ) ]]; then
if command -v nom &> /dev/null; then
if [[ "${USE_NOM}" != "0" ]]; then
nom build -f nix wireServer.devEnv --out-link ./.env
fi
else
nix build -f nix wireServer.devEnv -Lv --out-link ./.env
fi
nix-build ./nix -A wireServer.devEnv --out-link ./.env

echo "$store_paths" > "$layout_dir/nix-rebuild"
fi
Expand Down

0 comments on commit 09bb8e5

Please sign in to comment.