Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
26 lines
984 B
Bash
26 lines
984 B
Bash
addGuileLibPath () {
|
|
if test -d "$1/share/guile/site/3.0"; then
|
|
addToSearchPath GUILE_LOAD_PATH "$1/share/guile/site/3.0"
|
|
addToSearchPath GUILE_LOAD_COMPILED_PATH "$1/share/guile/site/3.0"
|
|
addToSearchPath GUILE_EXTENSIONS_PATH "$1/share/guile/site/3.0"
|
|
elif test -d "$1/share/guile/site"; then
|
|
addToSearchPath GUILE_LOAD_PATH "$1/share/guile/site"
|
|
addToSearchPath GUILE_LOAD_COMPILED_PATH "$1/share/guile/site"
|
|
addToSearchPath GUILE_EXTENSIONS_PATH "$1/share/guile/site"
|
|
fi
|
|
|
|
if test -d "$1/lib/guile/3.0/ccache"; then
|
|
addToSearchPath GUILE_LOAD_COMPILED_PATH "$1/lib/guile/3.0/ccache"
|
|
fi
|
|
|
|
if test -d "$1/lib/guile/3.0/site-ccache"; then
|
|
addToSearchPath GUILE_LOAD_COMPILED_PATH "$1/lib/guile/3.0/site-ccache"
|
|
fi
|
|
|
|
if test -d "$1/lib/guile/3.0/extensions"; then
|
|
addToSearchPath GUILE_EXTENSIONS_PATH "$1/lib/guile/3.0/extensions"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addGuileLibPath
|