Merge pull request #98128 from NieDzejkob/chez-refactor

chez: add env hook
This commit is contained in:
Austin Seipp
2020-09-22 23:17:08 -05:00
committed by GitHub
4 changed files with 7 additions and 2 deletions
@@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
rm -rf $out/lib/csv${version}/examples
'';
setupHook = ./setup-hook.sh;
meta = {
description = "A powerful and incredibly fast R6RS Scheme compiler";
homepage = "https://cisco.github.io/ChezScheme/";
@@ -0,0 +1,5 @@
addChezLibraryPath() {
addToSearchPath CHEZSCHEMELIBDIRS "$1/lib/csv-site"
}
addEnvHooks "$targetOffset" addChezLibraryPath