uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
13
pkgs/development/libraries/slib/setup-hook.sh
Normal file
13
pkgs/development/libraries/slib/setup-hook.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
addSlibPath () {
|
||||
if test -f "$1/lib/slib/slibcat"
|
||||
then
|
||||
export SCHEME_LIBRARY_PATH="$1/lib/slib/"
|
||||
echo "SLIB found in \`$1'; setting \$SCHEME_LIBRARY_PATH to \`$SCHEME_LIBRARY_PATH'"
|
||||
|
||||
# This is needed so that `(load-from-path "slib/guile.init")' works.
|
||||
export GUILE_LOAD_PATH="$1/lib:$GUILE_LOAD_PATH"
|
||||
echo "SLIB: setting \$GUILE_LOAD_PATH to \`$GUILE_LOAD_PATH'"
|
||||
fi
|
||||
}
|
||||
|
||||
addEnvHooks "$hostOffset" addSlibPath
|
||||
Loading…
Add table
Add a link
Reference in a new issue