diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-16 17:07:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-02-16 17:07:35 +0200 |
commit | 1b4f6286df13505cd17b3060fe4da7f03f39ba59 (patch) | |
tree | f15b3e630c290911ff78f01ba7a219a4015ae985 /gnu/packages/patches | |
parent | c1303a914c172dc80166be22389e7032c5ea5e09 (diff) | |
download | guix-1b4f6286df13505cd17b3060fe4da7f03f39ba59.tar.gz |
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.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/scsh-nonstring-search-path.patch | 15 |
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 |