[PATCH] gnu: gawk: Add search-paths.

  • Open
  • quality assurance status badge
Details
One participant
  • Efraim Flashner
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal

Debbugs page

E
E
Efraim Flashner wrote 13 hours ago
(address . guix-patches@gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
a17b1c7e35943a7527e9a5a3bcf3591366a7e70e.1729582350.git.efraim@flashner.co.il
* gnu/packages/gawk.scm (gawk)[search-paths]: New field.

Change-Id: Idbf2709b793ebd58e1aae8d07698e1f3e816babd
---

As seen here¹, this allows loading either source or compiled modules to
provide more functions in gawk.


gnu/packages/gawk.scm | 7 +++++++
1 file changed, 7 insertions(+)

Toggle diff (24 lines)
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index cea58bd415c..6a77a692f5a 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -89,6 +89,13 @@ (define-public gawk
;; sometimes fail non-deterministically.
bash))
+ (search-paths
+ (list (search-path-specification
+ (variable "AWKPATH")
+ (files (list "share/awk")))
+ (search-path-specification
+ (variable "AWKLIBPATH")
+ (files (list "lib/gawk")))))
(home-page "https://www.gnu.org/software/gawk/")
(synopsis "Text scanning and processing language")
(description

base-commit: ebdbaf6b391848d8287a7985bb49ac419586e0a1
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 73943@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73943
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch