~ruther/guix-local

ref: b4e0bcce1b9a4a23e7df147066e4261ecb30fef8 guix-local/gnu/packages/patches/scsh-nonstring-search-path.patch -rw-r--r-- 576 bytes
b4e0bcce — Hartmut Goebel gnu: Add trytond-document-incoming-ocr-typless. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
This patch was submitted upstream:
https://github.com/scheme/scsh/pull/46

diff --git a/scheme/lib-dirs.scm b/scheme/lib-dirs.scm
index a1fc009..c630fb4 100644
--- a/scheme/lib-dirs.scm
+++ b/scheme/lib-dirs.scm
@@ -75,6 +75,7 @@
               (let ((val (read)))
                 (cond ((eof-object? val) '())
                       ((string? val) (cons val (recur)))
+                      ((symbol? val) (cons (symbol->string val) (recur)))
                       ((not val) (append default-lib-dirs (recur)))
                       (else 
                        (error