16 lines
297 B
Bash
16 lines
297 B
Bash
#!/usr/bin/env bash
|
|
|
|
export NPINS_DIRECTORY="nix"
|
|
export APP_ENV=$USER
|
|
|
|
# the shebang is ignored, but nice for editors
|
|
watch_file nix/sources.json
|
|
|
|
# Load .env file if it exists
|
|
dotenv_if_exists
|
|
|
|
# Activate development shell
|
|
use nix
|
|
|
|
# HACK: Workaround for direnv bug
|
|
unset TMP TMPDIR TEMP TEMPDIR |