From eeb306cb76ea8e6c1487df0c13c7539d69202e3f Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Mon, 12 Oct 2020 04:11:59 +0200
Subject: [PATCH 01/20] gnu: Added search paths for Chicken Scheme.
* gnu/packages/chicken.scm (chicken): Added search paths
[native-search-paths]: added CHICKEN_REPOSITORY_PATH and a comment about
CHICKEN_INCLUDE_PATH.
---
gnu/packages/chicken.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
@@ -59,6 +59,17 @@
;; Parallel builds are not supported, as noted in README.
#:parallel-build? #f))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "CHICKEN_REPOSITORY_PATH")
+ ;; TODO extract binary version into a module level definition.
+ (files (list "var/lib/chicken/11")))
+ ;; the use of this variable is unclear. the online docs don't even
+ ;; mention it. i'm leaving it in as a comment for now, in case
+ ;; something breaks.
+ ;; (search-path-specification
+ ;; (variable "CHICKEN_INCLUDE_PATH")
+ ;; (files '("share")))))
(propagated-inputs `(("gcc-toolchain" ,gcc-toolchain)))
(home-page "https://www.call-cc.org/")
(synopsis "R5RS Scheme implementation that compiles native code via C")
--
2.29.2