diff options
| author | Daniel Littlewood <dan@danielittlewood.xyz> | 2026-04-28 09:24:08 +0100 |
|---|---|---|
| committer | Nguyễn Gia Phong <cnx@loang.net> | 2026-04-29 10:43:05 +0900 |
| commit | 9efb7080e50f3adcf763b432f3ef715d73ebc3bc (patch) | |
| tree | a1a06222ba5e1531bf9cf32c8025023147c575af /gnu/packages/dlang.scm | |
| parent | 9fad8c8a6cbec012eb160b0ee5148119ecc2d53e (diff) | |
gnu: ldc: Improve style.
* gnu/packages/dlang.scm (ldc)[native-inputs]:
Switch to using modify-inputs macro.
Change-Id: I65a66ec393f34f6463285b55112b70169a9cd6e7
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu/packages/dlang.scm')
| -rw-r--r-- | gnu/packages/dlang.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm index 21963a5fbb4..96252dc703e 100644 --- a/gnu/packages/dlang.scm +++ b/gnu/packages/dlang.scm | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | ;;; Copyright © 2022 ( <paren@disroot.org> | 10 | ;;; Copyright © 2022 ( <paren@disroot.org> |
| 11 | ;;; Copyright © 2022 Esther Flashner <esther@flashner.co.il> | 11 | ;;; Copyright © 2022 Esther Flashner <esther@flashner.co.il> |
| 12 | ;;; Copyright © 2025-2026 Jonas Meeuws <jonas.meeuws@gmail.com> | 12 | ;;; Copyright © 2025-2026 Jonas Meeuws <jonas.meeuws@gmail.com> |
| 13 | ;;; Copyright © 2026 Daniel Littlewood <dan@danielittlewood.xyz> | ||
| 13 | ;;; | 14 | ;;; |
| 14 | ;;; This file is part of GNU Guix. | 15 | ;;; This file is part of GNU Guix. |
| 15 | ;;; | 16 | ;;; |
| @@ -320,11 +321,11 @@ integration tests...\n") | |||
| 320 | "|core.thread.osthread-debug-shared"))) | 321 | "|core.thread.osthread-debug-shared"))) |
| 321 | (#t `(""))))))))))))) | 322 | (#t `(""))))))))))))) |
| 322 | (native-inputs | 323 | (native-inputs |
| 323 | (append (delete "llvm" | 324 | (modify-inputs native-inputs |
| 324 | (alist-replace "ldc" (list ldc-bootstrap) | 325 | (delete "llvm") |
| 325 | (package-native-inputs ldc-bootstrap))) | 326 | (replace "ldc" ldc-bootstrap) |
| 326 | `(("clang" ,clang-17) ;propagates llvm and clang-runtime | 327 | (append clang-17 ;propagates llvm and clang-runtime |
| 327 | ("python-lit" ,python-lit)))) | 328 | python-lit))) |
| 328 | (properties | 329 | (properties |
| 329 | (alist-delete 'hidden? (package-properties ldc-bootstrap))))) | 330 | (alist-delete 'hidden? (package-properties ldc-bootstrap))))) |
| 330 | 331 | ||
