From 9648ecf14a6cd15edace65747a1c053c5b501c50 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 2 Jul 2023 14:14:48 +0200 Subject: Fix(bootstrap): Use correct environment variable name --- bootstrap/99_ensure_config_variables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap/99_ensure_config_variables b/bootstrap/99_ensure_config_variables index b2ca9792..fa47a974 100755 --- a/bootstrap/99_ensure_config_variables +++ b/bootstrap/99_ensure_config_variables @@ -27,7 +27,7 @@ if ! [ "$NIX_ENVIRONMENT_VARIABLES_SET" ]; then export NIX_HOST="$host" fi - if ! [ "$NIX_DISK" ] && [ "$NIX_INSTALL" ]; then + if ! [ "$NIX_DISK" ] && [ "$INSTALL" ]; then available_disks="$(mktmp)" lsblk -J | jq '.[] | map(.name) | [foreach .[] as $item ({item: null, index: -1}; {$item, index: (.index + 1)})]' > "$available_disks" -- cgit 1.4.1