GNU bug report logs -
#72280
[PATCH] gnu: mawk: Add symlink to 'awk'.
Previous Next
To reply to this bug, email your comments to 72280 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#72280
; Package
guix-patches
.
(Wed, 24 Jul 2024 21:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon Tournier <zimon.toutoune <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 24 Jul 2024 21:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Reported by Zack Weinberg.
* gnu/packages/gawk.scm (mawk)[arguments]: Modify phases to add symlink from
'mawk' to 'awk'.
Change-Id: I98e65bf895db9a5a3f36419574fcc21f92a979fc
---
gnu/packages/gawk.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm
index 16a4ca5b0a..94b5439841 100644
--- a/gnu/packages/gawk.scm
+++ b/gnu/packages/gawk.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2018, 2022 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2021, 2022 Marius Bakke <marius <at> gnu.org>
;;; Copyright © 2022 Paul A. Patience <paul <at> apatience.com>
+;;; Copyright © 2024 Simon Tournier <zimon.toutoune <at> gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -149,6 +150,14 @@ (define-public mawk
(("^PATH=.*")
""))))))
(build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'symlink-awk
+ (lambda _
+ (with-directory-excursion (string-append #$output "/bin")
+ (symlink "mawk" "awk")))))))
(synopsis "Text scanning and processing language")
(description
"@command{mawk} is an interpreter for the Awk programming language.
base-commit: d007b64356764f49677c78d82643f1125b5353b7
--
2.41.0
This bug report was last modified 232 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.