status-react/nix/lib/checkEnvVarSet.nix
Jakub Sokołowski 908b5f723c
nix: add support for INFURA_TOKEN var for Android build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-08 17:55:24 +02:00

7 lines
152 B
Nix

# Helper for verifying an environment variable is set
name: ''
if [[ -z ''$${name} ]]; then
echo 'WARNING! Env var not set: ${name}' >&2
fi
''