diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2023-02-28 17:06:22 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-02-28 17:10:40 +0100 |
| commit | 2aee6bb90c535df1451ba94db39e8f940dd1f297 (patch) | |
| tree | b7c5ad07a8b422f83af116770dcaecac86e7e3c4 /gnu/packages | |
| parent | 61efecd33934ce6fd800c9a279691700d1f784ed (diff) | |
gnu: bash-static: Use gexps.
* gnu/packages/bash.scm (static-bash)[arguments]: Use gexps.
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/bash.scm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index 3aefe03276f..43f38303f7d 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2012-2017, 2019-2020, 2022 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2012-2017, 2019-2020, 2022, 2023 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2015, 2017 Leo Famulari <leo@famulari.name> | 4 | ;;; Copyright © 2015, 2017 Leo Famulari <leo@famulari.name> |
| 5 | ;;; Copyright © 2016, 2017, 2018, 2019, 2022 Efraim Flashner <efraim@flashner.co.il> | 5 | ;;; Copyright © 2016, 2017, 2018, 2019, 2022 Efraim Flashner <efraim@flashner.co.il> |
| @@ -270,15 +270,15 @@ without modification.") | |||
| 270 | (substitute-keyword-arguments | 270 | (substitute-keyword-arguments |
| 271 | `(#:allowed-references ("out") ,@(package-arguments bash)) | 271 | `(#:allowed-references ("out") ,@(package-arguments bash)) |
| 272 | ((#:phases phases) | 272 | ((#:phases phases) |
| 273 | `(modify-phases ,phases | 273 | #~(modify-phases #$phases |
| 274 | (add-after 'strip 'remove-everything-but-the-binary | 274 | (add-after 'strip 'remove-everything-but-the-binary |
| 275 | (lambda* (#:key outputs #:allow-other-keys) | 275 | (lambda* (#:key outputs #:allow-other-keys) |
| 276 | (let* ((out (assoc-ref outputs "out")) | 276 | (let* ((out (assoc-ref outputs "out")) |
| 277 | (bin (string-append out "/bin"))) | 277 | (bin (string-append out "/bin"))) |
| 278 | (remove-store-references (string-append bin "/bash")) | 278 | (remove-store-references (string-append bin "/bash")) |
| 279 | (delete-file (string-append bin "/bashbug")) | 279 | (delete-file (string-append bin "/bashbug")) |
| 280 | (delete-file-recursively (string-append out "/share")) | 280 | (delete-file-recursively (string-append out "/share")) |
| 281 | #t)))))))))) | 281 | #t)))))))))) |
| 282 | 282 | ||
| 283 | (define-public bash-with-syslog | 283 | (define-public bash-with-syslog |
| 284 | (package | 284 | (package |
