From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id 2NMrLehVF2fw0AAAe85BDQ:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 22 Oct 2024 07:36:08 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id 2NMrLehVF2fw0AAAe85BDQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 22 Oct 2024 09:36:08 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Eu4tawzc;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="joE/k7rN";
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729582568; a=rsa-sha256; cv=none;
	b=D+wBJSZxSF1iqKL8gp7YoJhmktUHZxUoVS9/NGlymmRduLLjmDuiA+V2QwTY+9GsCEM/qj
	IW5w24Khq57XGr36090mhgJQvkdIVaMn0XTy6foAP45YW0beoB6XPT2djwJ4BqQtXndhXH
	RU5xoqx7J0lI7oFHJPVytA4Ze58rgby9nneSIfpgNcp9m9yWzjCIETRU2q/Rnpsr80q7h/
	Sf8hTIh5UtHGIPuUy1SnSmg/VUgp6i7oTA02NRKydkG3jNc7ONQPBUMCD5ylJQmJ6HTNU1
	2paEWIbdskT88dvn2hyRqraUth8xAZz1kxtxa34NrPHt5Y+NXAqGhPqydD0chA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Eu4tawzc;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="joE/k7rN";
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1729582568;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=;
	b=Et/FjLMBxpFqOf4imyWQrJcQCBQwcNm82S+7fE66fCd1cK/XI7Phd9dkEnafxHEEsBJycT
	zoeZCQt6ft360W27Aj3Q5umSZQg+Vwcie8qCJxoG0a+aF7WIbtDuOd/srtnFRKFxpbyo78
	vytq2E96CxNtuAH9x54GqdIvduB8GgLKgBrZ6MVzBWCSs9gyF+oW3Da2BLcvIdOive1DbK
	6RHDJnZEczaj5bnhAcvvl8xaKi2+Xulu4912NqiZAnyslxNnwCkcA1dbo2Myn8BtOUEDeC
	WJ0clKJw/BBlA/kGFbaJpprwmWbkELCbR9wTkpzX13np77DnbDWgPLdt4ig5VQ==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 1627F751D8
	for <larch@yhetil.org>; Tue, 22 Oct 2024 09:36:08 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1t39Qp-0002DX-D7; Tue, 22 Oct 2024 03:35:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1t39QW-00027v-0Y
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:35:36 -0400
Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1t39QV-0002yy-OE
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:35:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=debbugs.gnu.org; s=debbugs-gnu-org; 
 h=MIME-Version:Date:From:To:Subject;
 bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=; 
 b=Eu4tawzcdW/LdQt/+UtnGdbjIZ4NHBpgnoe7tC9lTLPAEstIbeTflc0glhFr1H1abCUGtop2D8CJSL1fwWOuCZfbsWPAO2G8OLlmAfTkvavB+m3CUuqIfLPFE22Siq9C80Z0tlMlV+jfTW2F17JHVLU/eVw5fPRmdabYvOYMNKI4nRPGyuDbW5J32RctQ9msvh3ab3Oq8fsHSgYwomfnTZQpCAHpRCJ3MMkzZthriQ3qhVoKzkJvTbHJd/g1KRIbs1E59BPebXKaKeK7BbXxvVKdE4RpgHCslpf+VSz7021RGsNnMNj6suQjPb/BJCOHZ1RBquaXAt1THtcDZDCbWg==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1t39Qw-0003HQ-Gd
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:36:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#73943] [PATCH] gnu: gawk: Add search-paths.
Resent-From: Efraim Flashner <efraim@flashner.co.il>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Tue, 22 Oct 2024 07:36:02 +0000
Resent-Message-ID: <handler.73943.B.172958251512184@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 73943
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73943@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.172958251512184
 (code B ref -1); Tue, 22 Oct 2024 07:36:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Oct 2024 07:35:15 +0000
Received: from localhost ([127.0.0.1]:54459 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1t39QB-0003AS-4Q
 for submit@debbugs.gnu.org; Tue, 22 Oct 2024 03:35:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:56926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim.flashner@gmail.com>) id 1t39Q6-0003AG-Ev
 for submit@debbugs.gnu.org; Tue, 22 Oct 2024 03:35:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <efraim.flashner@gmail.com>)
 id 1t39Pe-00017N-H7
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:34:42 -0400
Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <efraim.flashner@gmail.com>)
 id 1t39Pc-0002kY-Iz
 for guix-patches@gnu.org; Tue, 22 Oct 2024 03:34:42 -0400
Received: by mail-wm1-x335.google.com with SMTP id
 5b1f17b1804b1-4314a26002bso58530595e9.0
 for <guix-patches@gnu.org>; Tue, 22 Oct 2024 00:34:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1729582477; x=1730187277; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=;
 b=joE/k7rNQy4EJNE+PYdjEKRrOJyFoJV+P+Agy4/gf/ix6ZmM1pComTNwZTlUVgwW9X
 gZNNAxZQmsoV4+ej1kAhtt+pDS9BfyAK5A2k+gbcMgbgcNEm8MIeJ9yZmw4ecr+LT8jG
 ipZXUpqz7uitz31lJHEw7eRTtMSlQcf+7EAQPz+Mos2KdIh9oyyLl7Fmej0JJli7ZCCl
 wtvZzmQSBKQiWJoT/01hra3EN0HtyKY4RXS6HBe3iXAZujp/v2EGBNEzXb7uC6MwPPiv
 juAj9RR46xNuzl0HTwlCp74yENgpIcxE8ZCwgeRq/gc6QLdXjQ+F53fZLx4UsqCmp/0O
 lDPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1729582477; x=1730187277;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=LWNZmVlbj6OcG8ushVQ7MpaVjLVJFgt2Rqg/fxTRcYU=;
 b=YTQOF9GN7/ToQRF8Hnuifo0RUMxlp/NkW1+l4Xk6btsuA2+irhyn1ZZntzMJI53ghW
 46wyz88ruQWeUjz7Z/UAySX7OQguV4DtLETLY3NrPh98w/gy57PhISKR0Gyn176POsXM
 dHTIkMxQJ8analoT5bLni3LVQKSTLIFBlYZL0LGfAmstQn4Qtnkogb3Xlo8MunarzbZ6
 wtpj4hZh8CrjhZJOMWqvzWpgSPuC2igOF1gfeRJwsCkJJHPXo8xFneHl/zlkhKnCbr+d
 KYrRKWVomgVpsA3gEdfU3HhoEDoxp8ThsV/fe7qRbBFtKg1FtKPzRFiFYrIm4EDirZuB
 k7Rw==
X-Gm-Message-State: AOJu0YyKDvK/3jPkOdoNvqvrqX+BqmZlWFcxAQhiU9hPJRFJfAj4fvf1
 X2CJordCRGyn2CTgrwGpKZZ7yfzo/M2+RFqOlB3Oz1gS92WP21SuxdJlzyGc
X-Google-Smtp-Source: AGHT+IGhc62G6kkm+N3mI/BXo18HeIwbsyMDBCbSiuzuR9USu9XRcT3nP/S0qhR4Xpdw0zgI2XXBag==
X-Received: by 2002:a05:600c:4f8b:b0:431:46fe:4cad with SMTP id
 5b1f17b1804b1-4316163bbe0mr123813665e9.9.1729582477164; 
 Tue, 22 Oct 2024 00:34:37 -0700 (PDT)
Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4316f58f2c3sm79715435e9.27.2024.10.22.00.34.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 22 Oct 2024 00:34:35 -0700 (PDT)
From: Efraim Flashner <efraim@flashner.co.il>
Date: Tue, 22 Oct 2024 10:32:56 +0300
Message-ID: <a17b1c7e35943a7527e9a5a3bcf3591366a7e70e.1729582350.git.efraim@flashner.co.il>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::335;
 envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x335.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.171,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -4.79
X-Spam-Score: -4.79
X-Migadu-Queue-Id: 1627F751D8
X-Migadu-Scanner: mx10.migadu.com
X-TUID: opdr9mE58/Ok

* 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