Skip to content
Permalink
Browse files

Also set CHICKEN_C_INCLUDE_PATH

  • Loading branch information
mario-goulart committed Oct 11, 2012
1 parent f80e67f commit cd45df54b5edae86bf836fc3b8650f21887f55c5
Showing with 3 additions and 1 deletion.
  1. +3 −1 salmonella.scm
@@ -191,6 +191,7 @@
(setenv "SALMONELLA_RUNNING" "1")
(setenv "CHICKEN_INSTALL_PREFIX" tmp-repo-dir)
(setenv "CHICKEN_INCLUDE_PATH" (make-pathname tmp-repo-dir "share/chicken"))
(setenv "CHICKEN_C_INCLUDE_PATH" (make-pathname tmp-repo-dir "include/chicken"))

(define (log-shell-command egg action command)
(let-values (((status output duration) (run-shell-command command)))
@@ -405,14 +406,15 @@ Environment variables:
#(show-envvar "SALMONELLA_RUNNING")
#(show-envvar "CHICKEN_INSTALL_PREFIX")
#(show-envvar "CHICKEN_INCLUDE_PATH")
#(show-envvar "CHICKEN_C_INCLUDE_PATH")
#(show-envvar "CHICKEN_REPOSITORY" tmp-repo-lib-dir)
#(show-envvar "CHICKEN_HOME")
#(show-envvar "CSC_OPTIONS")

EOF
) ;; Beware of the hack above. CHICKEN_REPOSITORY is only set by
;; salmonella after `init-repo!' is called. Here we print its value
;; but the environment variable is not actually set, since
;; but the environment variable may not be actually set, since
;; `env-info' can be called before `init-repo!'.


0 comments on commit cd45df5

Please sign in to comment.
You can’t perform that action at this time.