diff options
| author | Simon Tournier <zimon.toutoune@gmail.com> | 2024-07-24 23:23:10 +0200 |
|---|---|---|
| committer | Simon Tournier <zimon.toutoune@gmail.com> | 2026-03-27 19:40:35 +0100 |
| commit | ed030ecb18a165e924e1c8f4ab25cd3d95689665 (patch) | |
| tree | b0da2e131327f3f9d14fbf3f793751f397f97590 | |
| parent | 894c4324caaec6abf086b671af73e14ebca2e82c (diff) | |
gnu: mawk: Add symlink to 'awk'.
* gnu/packages/gawk.scm (mawk)[arguments]: Modify phases to add symlink from
'mawk' to 'awk'.
Reported-by: Zack Weinberg
Change-Id: I98e65bf895db9a5a3f36419574fcc21f92a979fc
Closes: 72280@debbugs.gnu.org
| -rw-r--r-- | gnu/packages/gawk.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm index 72794b025bc..6223fd0273c 100644 --- a/gnu/packages/gawk.scm +++ b/gnu/packages/gawk.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2018, 2022-2024 Efraim Flashner <efraim@flashner.co.il> | 4 | ;;; Copyright © 2018, 2022-2024 Efraim Flashner <efraim@flashner.co.il> |
| 5 | ;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org> | 5 | ;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org> |
| 6 | ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> | 6 | ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> |
| 7 | ;;; Copyright © 2024 Simon Tournier <zimon.toutoune@gmail.com> | ||
| 7 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -164,7 +165,14 @@ block-scoped lexical variables.")))) | |||
| 164 | "")))))) | 165 | "")))))) |
| 165 | (build-system gnu-build-system) | 166 | (build-system gnu-build-system) |
| 166 | (arguments | 167 | (arguments |
| 167 | (list #:parallel-build? #f)) ; Prevent a race condition. | 168 | (list |
| 169 | #:parallel-build? #f ; Prevent a race condition. | ||
| 170 | #:phases | ||
| 171 | #~(modify-phases %standard-phases | ||
| 172 | (add-after 'install 'symlink-awk | ||
| 173 | (lambda _ | ||
| 174 | (with-directory-excursion (string-append #$output "/bin") | ||
| 175 | (symlink "mawk" "awk"))))))) | ||
| 168 | (native-inputs | 176 | (native-inputs |
| 169 | (list bison)) | 177 | (list bison)) |
| 170 | (synopsis "Text scanning and processing language") | 178 | (synopsis "Text scanning and processing language") |
