forked from lix-project/hydra
hydra-eval-guile-jobs: Allow use of the installed Guix.
* src/script/hydra-eval-guile-jobs.in: Leave GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH unchanged.
This commit is contained in:
parent
9a9f37f209
commit
f3aa48978e
|
@ -2,11 +2,9 @@
|
|||
# Aside from this initial boilerplate, this is actually -*- scheme -*- code.
|
||||
main="(module-ref (resolve-interface '(hydra-eval-guile-jobs)) 'eval-guile-jobs)"
|
||||
|
||||
# Make sure no undeclared dependency is leaked. Guix has to be
|
||||
# provided as an input through Hydra. Guix itself must thus be built via a
|
||||
# recipe written in the Nix language.
|
||||
unset GUILE_LOAD_PATH
|
||||
unset GUILE_LOAD_COMPILED_PATH
|
||||
# Keep the host's GUILE_LOAD_PATH unchanged to allow the installed Guix to
|
||||
# be used. This moves Guix modules possibly out of control, but solves
|
||||
# bootstrapping issues.
|
||||
|
||||
exec ${GUILE:-@GUILE@} --no-auto-compile \
|
||||
-l "$0" -c "(apply $main (cdr (command-line)))" "$@"
|
||||
|
|
Loading…
Reference in a new issue