[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73073] [PATCH v2 3/8] gnu: dmd-bootstrap: Move phobos origin from p
From: |
Simon Tournier |
Subject: |
[bug#73073] [PATCH v2 3/8] gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs. |
Date: |
Tue, 10 Sep 2024 03:27:11 +0200 |
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos
origin from here...
[native-inputs]: ...to here.
Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62
---
gnu/packages/dlang.scm | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index 8bf0ee685e..1fd1c8d58c 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -456,15 +456,7 @@ (define dmd-bootstrap
(lambda _
(symlink "." "dmd") ;to please the build system expected layout
(copy-recursively
- #$(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/dlang/phobos")
- (commit (string-append "v" version))))
- (file-name (git-file-name "phobos" version))
- (sha256
- (base32
- "1yw7nb5d78cx9m7sfibv7rfc7wj3w0dw9mfk3d269qpfpnwzs4n9")))
+ #$(this-package-native-input (git-file-name "phobos" version))
"phobos")
(chdir "phobos")))
(add-after 'copy-phobos-source-and-chdir 'adjust-phobos-install-dirs
@@ -519,7 +511,16 @@ (define dmd-bootstrap
"lib")
(("\\.\\./src/(phobos|druntime/import)")
"include/dmd")))))))
- (native-inputs (list gdmd which))
+ (native-inputs (list gdmd which
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dlang/phobos")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name "phobos" version))
+ (sha256
+ (base32
+
"1yw7nb5d78cx9m7sfibv7rfc7wj3w0dw9mfk3d269qpfpnwzs4n9")))))
(home-page "https://github.com/dlang/dmd")
(synopsis "Reference D Programming Language compiler")
(description "@acronym{DMD, Digital Mars D compiler} is the reference
--
2.45.2
- [bug#73073] [PATCH 1/6] guix: packages: Allow origin with label as inputs., (continued)
- [bug#73073] [PATCH v2 3/8] gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.,
Simon Tournier <=
- [bug#73073] [PATCH v2 4/8] gnu: smithforth: Move system.fs origin from phases to native-inputs., Simon Tournier, 2024/09/09
- [bug#73073] [PATCH v2 7/8] gnu: git: Move git-manpages origin from phases to native-inputs., Simon Tournier, 2024/09/09
- [bug#73073] [PATCH v2 5/8] gnu: farstream: Move common origin from phases to native-inputs., Simon Tournier, 2024/09/09
- [bug#73073] [PATCH v2 2/8] gnu: gnome-recipes: Move libgd origin from phases to native-inputs., Simon Tournier, 2024/09/09
[bug#73073] [PATCH v2 6/8] gnu: gnulib: Move phobos origin from phases to native-inputs., Simon Tournier, 2024/09/09
[bug#73073] [PATCH v2 8/8] gnu: cgit: Remove input labels., Simon Tournier, 2024/09/09