We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebe3d1 commit 194dd68Copy full SHA for 194dd68
terraform/nix-build/nix-build.sh
@@ -4,7 +4,7 @@ set -efu
4
declare file attribute nix_options
5
eval "$(jq -r '@sh "attribute=\(.attribute) file=\(.file) nix_options=\(.nix_options)"')"
6
options=$(echo "${nix_options}" | jq -r '.options | to_entries | map("--option \(.key) \(.value)") | join(" ")')
7
-if [[ -n ${file-} ]] && [[ -e ${fileh-} ]]; then
+if [[ -n ${file-} ]] && [[ -e ${file-} ]]; then
8
# shellcheck disable=SC2086
9
out=$(nix build --no-link --json $options -f "$file" "$attribute")
10
printf '%s' "$out" | jq -c '.[].outputs'
0 commit comments