unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73943] [PATCH] gnu: gawk: Add search-paths.
@ 2024-10-22  7:32 Efraim Flashner
  2024-10-24  6:05 ` Maxim Cournoyer
       [not found] ` <handler.73943.B.172958251512184.ack@debbugs.gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Efraim Flashner @ 2024-10-22  7:32 UTC (permalink / raw)
  To: 73943; +Cc: Efraim Flashner

* 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.

¹ https://www.gnu.org/software/gawk/manual/html_node/AWKLIBPATH-Variable.html

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

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#73943] [PATCH] gnu: gawk: Add search-paths.
  2024-10-22  7:32 [bug#73943] [PATCH] gnu: gawk: Add search-paths Efraim Flashner
@ 2024-10-24  6:05 ` Maxim Cournoyer
       [not found] ` <handler.73943.B.172958251512184.ack@debbugs.gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-10-24  6:05 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 73943

Hi!

Efraim Flashner <efraim@flashner.co.il> writes:

> * gnu/packages/gawk.scm (gawk)[search-paths]: New field.
>
> Change-Id: Idbf2709b793ebd58e1aae8d07698e1f3e816babd

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#73943: Acknowledgement ([PATCH] gnu: gawk: Add search-paths.)
       [not found] ` <handler.73943.B.172958251512184.ack@debbugs.gnu.org>
@ 2024-11-06 11:00   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2024-11-06 11:00 UTC (permalink / raw)
  To: 73943-done

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

Patch pushed

-- 
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-06 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  7:32 [bug#73943] [PATCH] gnu: gawk: Add search-paths Efraim Flashner
2024-10-24  6:05 ` Maxim Cournoyer
     [not found] ` <handler.73943.B.172958251512184.ack@debbugs.gnu.org>
2024-11-06 11:00   ` bug#73943: Acknowledgement ([PATCH] gnu: gawk: Add search-paths.) Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).