mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: scsh: Use a search path.
* 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.
This commit is contained in:
parent
c1303a914c
commit
1b4f6286df
3 changed files with 24 additions and 2 deletions
15
gnu/packages/patches/scsh-nonstring-search-path.patch
Normal file
15
gnu/packages/patches/scsh-nonstring-search-path.patch
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue