bootstrap 503 B

12345678910111213141516
  1. #!/bin/sh
  2. # This file is used for deploying my configs on a "fresh" system.
  3. # "config.scm" requires my guile modules, so the purpose of this file is
  4. # to fetch my guile modules, and run "config.scm" using them.
  5. THIS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  6. MY_GUILE_DIR="$(mktemp --directory)"
  7. git clone --depth 1 \
  8. "https://gitlab.com/alezost-config/guile.git" \
  9. "$MY_GUILE_DIR"
  10. GUILE_LOAD_PATH=$MY_GUILE_DIR/modules \
  11. guile "$THIS_DIR/config.scm" --fetch --deploy