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.
This commit is contained in:
Hilton Chain committed 2026-10-18 15:59:34 +08:00
1 parent 27baf1ba57
commit 9afc4e56da
6 files changed
+210 -148

No files matched your search

+6 -3
View File
@@ -1,8 +1,11 @@
#!/bin/sh
load_path="$(dirname "$(realpath "$0")")/modules"
TOP_DIR="$(dirname "$(realpath "$0")")"
modules="$TOP_DIR/modules"
scripts="$TOP_DIR/etc/scripts"
export GUILE_LOAD_PATH="${load_path}${GUILE_LOAD_PATH:+:}${GUILE_LOAD_PATH}"
export GUIX_PACKAGE_PATH="${load_path}${GUIX_PACKAGE_PATH:+:}${GUIX_PACKAGE_PATH}"
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 "$@"