Files
Rosenthal/pre-inst-env
T
Hilton Chain 9afc4e56da rosenthal: Reorganize scripts.
* README.org (Content): Move to...
* etc/docs/index.org: ...this new file.
* pre-inst-env: Prepend etc/scripts to PATH.
* etc/scripts/index.scm: Rename to...
* etc/scripts/index: ...this.
* etc/committer.scm: Rename to...
* etc/scripts/committer: ...this.
2026-10-18 15:59:34 +08:00

12 lines
319 B
Bash
Executable File

#!/bin/sh
TOP_DIR="$(dirname "$(realpath "$0")")"
modules="$TOP_DIR/modules"
scripts="$TOP_DIR/etc/scripts"
export GUILE_LOAD_PATH="${modules}${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}"
export GUIX_PACKAGE_PATH="${modules}${GUIX_PACKAGE_PATH:+:}${GUIX_PACKAGE_PATH}"
export PATH="${scripts}${PATH:+:}${PATH}"
exec "$@"