mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: dmd-bootstrap: Move phobos origin from phases to native-inputs.
* gnu/packages/dlang.scm (dmd-bootstrap)[arguments]<phases>: Move phobos origin from here... [native-inputs]: ...to here. Change-Id: I10cb5f628dad2fdbb01df58134996bdcd0b73d62 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4410b818df
commit
9320d86029
1 changed files with 11 additions and 10 deletions
|
@ -456,15 +456,7 @@ integration tests...\n")
|
||||||
(lambda _
|
(lambda _
|
||||||
(symlink "." "dmd") ;to please the build system expected layout
|
(symlink "." "dmd") ;to please the build system expected layout
|
||||||
(copy-recursively
|
(copy-recursively
|
||||||
#$(origin
|
#$(this-package-native-input (git-file-name "phobos" version))
|
||||||
(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")))
|
|
||||||
"phobos")
|
"phobos")
|
||||||
(chdir "phobos")))
|
(chdir "phobos")))
|
||||||
(add-after 'copy-phobos-source-and-chdir 'adjust-phobos-install-dirs
|
(add-after 'copy-phobos-source-and-chdir 'adjust-phobos-install-dirs
|
||||||
|
@ -519,7 +511,16 @@ integration tests...\n")
|
||||||
"lib")
|
"lib")
|
||||||
(("\\.\\./src/(phobos|druntime/import)")
|
(("\\.\\./src/(phobos|druntime/import)")
|
||||||
"include/dmd")))))))
|
"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")
|
(home-page "https://github.com/dlang/dmd")
|
||||||
(synopsis "Reference D Programming Language compiler")
|
(synopsis "Reference D Programming Language compiler")
|
||||||
(description "@acronym{DMD, Digital Mars D compiler} is the reference
|
(description "@acronym{DMD, Digital Mars D compiler} is the reference
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue