You've already forked tribes-plugin-aether
forked from tribes/tribes-plugin-template
build: load dotenv in Guix dev shell
Source the repo .env before entering the pinned Guix shell so Guix fallback commands match the devenv environment more closely.
This commit is contained in:
@@ -16,5 +16,11 @@ if [ ! -f "$channels" ] || [ ! -f "$manifest" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f "$root/.env" ]; then
|
||||
set -a
|
||||
. "$root/.env"
|
||||
set +a
|
||||
fi
|
||||
|
||||
exec guix time-machine -C "$channels" -- \
|
||||
shell -m "$manifest" "$@"
|
||||
|
||||
Reference in New Issue
Block a user