@@ -4,6 +4,7 @@
;;; Copyright © 2018, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
+;;; Copyright © 2024 Simon Tournier <zimon.toutoune@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.