biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / package-management / akku / setup-hook.sh
blob0309475bb8ce720becb1f56bcdbbc32e82c4a594
1 _AKKU="SPDX-License-Identifier: MIT"
2 _AKKU="Copyright (c) The Akku.scm Developers"
4 scheme_vars='
5 CHEZSCHEMELIBDIRS
6 GUILE_LOAD_PATH
7 IKARUS_LIBRARY_PATH
8 MOSH_LOADPATH
9 PLTCOLLECTS
10 SAGITTARIUS_LOADPATH
11 VICARE_SOURCE_PATH
12 YPSILON_SITELIB
13 LARCENY_LIBPATH
14 IRONSCHEME_LIBRARY_PATH
15 LOKO_LIBRARY_PATH
16 DIGAMMA_SITELIB
17 CHIBI_MODULE_PATH
18 GAUCHE_LOAD_PATH
21 addToAkkuEnv () {
22 adder="addToSearchPath"
23 for env_var in $scheme_vars; do
24 $adder $env_var "$1/lib/scheme-libs"
25 done
26 $adder GUILE_LOAD_COMPILED_PATH "$1/lib/libobj"
27 $adder LD_LIBRARY_PATH "$1/lib/ffi"
28 $adder DYLD_LIBRARY_PATH "$1/lib/ffi"
31 addEnvHooks "$targetOffset" addToAkkuEnv