mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
1b4f6286df
* gnu/packages/shells.scm (scsh)[source]: Add patch. [native-search-paths]: New field. * gnu/packages/patches/scsh-nonstring-search-path.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it.
15 lines
576 B
Diff
15 lines
576 B
Diff
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
|