diff --git a/gnu/packages/gawk.scm b/gnu/packages/gawk.scm index 72794b025b..6223fd0273 100644 --- a/gnu/packages/gawk.scm +++ b/gnu/packages/gawk.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2018, 2022-2024 Efraim Flashner ;;; Copyright © 2021, 2022 Marius Bakke ;;; Copyright © 2022 Paul A. Patience +;;; Copyright © 2024 Simon Tournier ;;; ;;; This file is part of GNU Guix. ;;; @@ -164,7 +165,14 @@ block-scoped lexical variables.")))) "")))))) (build-system gnu-build-system) (arguments - (list #:parallel-build? #f)) ; Prevent a race condition. + (list + #:parallel-build? #f ; Prevent a race condition. + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'symlink-awk + (lambda _ + (with-directory-excursion (string-append #$output "/bin") + (symlink "mawk" "awk"))))))) (native-inputs (list bison)) (synopsis "Text scanning and processing language")