all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 73943@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#73943] [PATCH] gnu: gawk: Add search-paths.
Date: Tue, 22 Oct 2024 10:32:56 +0300	[thread overview]
Message-ID: <a17b1c7e35943a7527e9a5a3bcf3591366a7e70e.1729582350.git.efraim@flashner.co.il> (raw)

* 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





             reply	other threads:[~2024-10-22  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-22  7:32 Efraim Flashner [this message]
2024-10-24  6:05 ` [bug#73943] [PATCH] gnu: gawk: Add search-paths 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a17b1c7e35943a7527e9a5a3bcf3591366a7e70e.1729582350.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=73943@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.