8 lines
154 B
Nix
8 lines
154 B
Nix
|
# Helper for verifying an environment variable is set
|
||
|
name: ''
|
||
|
if [[ -z ''$${name} ]]; then
|
||
|
echo 'Not env var set: ${name}' >&2
|
||
|
exit 1
|
||
|
fi
|
||
|
''
|