aboutsummaryrefslogtreecommitdiffstats
path: root/scsh-nonstring-search-path.patch
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-11-17 22:30:08 -0800
committerGravatar Tom Willemse2022-11-17 22:35:33 -0800
commit0e2042729621f2279ae7ef085336d30b52419a1c (patch)
treed59f89f9b0afd665dda45e014320138307964cd1 /scsh-nonstring-search-path.patch
parent679d9a127a32aa1590767ec16ce75cefc7f671dd (diff)
downloadguix-packages-0e2042729621f2279ae7ef085336d30b52419a1c.tar.gz
guix-packages-0e2042729621f2279ae7ef085336d30b52419a1c.zip
Add patch file for SCSH
Diffstat (limited to 'scsh-nonstring-search-path.patch')
-rw-r--r--scsh-nonstring-search-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/scsh-nonstring-search-path.patch b/scsh-nonstring-search-path.patch
new file mode 100644
index 0000000..c79e6cc
--- /dev/null
+++ b/scsh-nonstring-search-path.patch
@@ -0,0 +1,12 @@
+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