guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 04/05: gnu: ldc-bootstrap: Don't depend on tzdata.
Date: Wed, 17 May 2023 17:25:52 -0400 (EDT)

jpoiret pushed a commit to branch master
in repository guix.

commit d19c7c2791dc01d678ec017ad83868d5629b53f6
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Fri Apr 21 16:49:58 2023 -0400

    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>
---
 gnu/packages/dlang.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/dlang.scm b/gnu/packages/dlang.scm
index fad3e683da..4735c53a77 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -159,7 +159,8 @@ to a minimal test case.")
         (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 @@ to a minimal test case.")
     (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 @@ to a minimal test case.")
        ("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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]