gnu: ldc-bootstrap: Don't depend on tzdata.

* gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Forbid references to tzdata-for-tests.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
This commit is contained in:
Leo Famulari 2023-04-21 16:49:58 -04:00 committed by Josselin Poiret
parent e041801e61
commit d19c7c2791
No known key found for this signature in database
GPG key ID: 505E40B916171A8A

View file

@ -159,7 +159,8 @@ (define ldc-bootstrap
(base32 "1kfs4fpr1525sv2ny10hlfppy8c075vjm8m649wr2b9411pkgfzx"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f ;skip in the bootstrap
`(#:disallowed-references (,tzdata-for-tests)
#:tests? #f ;skip in the bootstrap
#:build-type "Release"
#:configure-flags
(list "-GNinja")
@ -187,7 +188,6 @@ (define ldc-bootstrap
(inputs
`(("libconfig" ,libconfig)
("libedit" ,libedit)
("tzdata" ,tzdata)
("zlib" ,zlib)))
(native-inputs
`(("lld-wrapper" ,(make-lld-wrapper lld-14 #:lld-as-ld? #t))
@ -195,6 +195,7 @@ (define ldc-bootstrap
("ldc" ,gdmd)
("ninja" ,ninja)
("python-wrapper" ,python-wrapper)
("tzdata" ,tzdata-for-tests)
("unzip" ,unzip)))
(home-page "http://wiki.dlang.org/LDC")
(synopsis "LLVM-based compiler for the D programming language")