summary refs log tree commit diff
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2020-10-12 04:11:59 +0200
committerLudovic Courtès <ludo@gnu.org>2020-12-03 15:44:21 +0100
commit918a643bf905de2e027be50ca9a461f4af811e32 (patch)
treecfd5ba0952c9b423df0e1ad954e44dad3b6450c7
parentfbb380a088cae8e64d85f0fb3eecebf02841eeaa (diff)
downloadguix-918a643bf905de2e027be50ca9a461f4af811e32.tar.gz
gnu: chicken: Add 'CHICKEN_REPOSITORY_PATH' search path spec.
* gnu/packages/chicken.scm (chicken)[native-search-paths]: New field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/chicken.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index 729cf25a6c..ac52d3aea5 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -59,6 +59,11 @@
 
        ;; 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")))))
     (propagated-inputs `(("gcc-toolchain" ,gcc-toolchain)))
     (home-page "https://www.call-cc.org/")
     (synopsis "R5RS Scheme implementation that compiles native code via C")