Skip to content

Commit 194dd68

Browse files
committed
Fix typo that causes non-flake builds to fail
1 parent aebe3d1 commit 194dd68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/nix-build/nix-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -efu
44
declare file attribute nix_options
55
eval "$(jq -r '@sh "attribute=\(.attribute) file=\(.file) nix_options=\(.nix_options)"')"
66
options=$(echo "${nix_options}" | jq -r '.options | to_entries | map("--option \(.key) \(.value)") | join(" ")')
7-
if [[ -n ${file-} ]] && [[ -e ${fileh-} ]]; then
7+
if [[ -n ${file-} ]] && [[ -e ${file-} ]]; then
88
# shellcheck disable=SC2086
99
out=$(nix build --no-link --json $options -f "$file" "$attribute")
1010
printf '%s' "$out" | jq -c '.[].outputs'

0 commit comments

Comments
 (0)