18 lines
762 B
Bash
Executable File
18 lines
762 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
repo_root=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)
|
|
. "$HOME/.local/opt/fruix-builder/env.sh"
|
|
|
|
guile_version=$($GUILE_BIN -c '(display (effective-version))')
|
|
guile_load_path="$repo_root/modules:$GUIX_SOURCE_DIR:$HOME/.local/opt/fruix-builder/shepherd/share/guile/site/$guile_version${GUILE_LOAD_PATH:+:$GUILE_LOAD_PATH}"
|
|
guile_load_compiled_path="$HOME/.local/opt/fruix-builder/shepherd/lib/guile/$guile_version/site-ccache${GUILE_LOAD_COMPILED_PATH:+:$GUILE_LOAD_COMPILED_PATH}"
|
|
|
|
env \
|
|
FRUIX_REPO_ROOT="$repo_root" \
|
|
GUILE_BIN="$GUILE_BIN" \
|
|
GUILE_AUTO_COMPILE=0 \
|
|
GUILE_LOAD_PATH="$guile_load_path" \
|
|
GUILE_LOAD_COMPILED_PATH="$guile_load_compiled_path" \
|
|
"$GUILE_BIN" --no-auto-compile "$repo_root/tests/package-profile.scm"
|