summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/scsh-nonstring-search-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/scsh-nonstring-search-path.patch')
-rw-r--r--gnu/packages/patches/scsh-nonstring-search-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/scsh-nonstring-search-path.patch b/gnu/packages/patches/scsh-nonstring-search-path.patch
new file mode 100644
index 0000000000..3934d49fa3
--- /dev/null
+++ b/gnu/packages/patches/scsh-nonstring-search-path.patch
@@ -0,0 +1,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