all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 63004@debbugs.gnu.org
Subject: [bug#63004] [PATCH 2/2] gnu: ldc-bootstrap: Don't depend on tzdata.
Date: Fri, 21 Apr 2023 16:49:58 -0400	[thread overview]
Message-ID: <8ba08c4d2a7948431e72cd32466b1526fed35f56.1682110198.git.leo@famulari.name> (raw)
In-Reply-To: <32e4684cb2a52c963e84485e53e2680f25f2eddf.1682110198.git.leo@famulari.name>

* gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Forbid references to tzdata-for-tests.
---
 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 729d6015ae..eafc0a7bbf 100644
--- a/gnu/packages/dlang.scm
+++ b/gnu/packages/dlang.scm
@@ -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-11 #: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")
-- 
2.39.2





  reply	other threads:[~2023-04-21 20:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 20:47 [bug#63004] Add support for disallowed-references to cmake and don't let ldc depend on tzdata Leo Famulari
2023-04-21 20:49 ` [bug#63004] [PATCH 1/2] build-system/cmake: Add support for the #:disallowed-references key Leo Famulari
2023-04-21 20:49   ` Leo Famulari [this message]
2023-05-06 15:16     ` [bug#63004] Add support for disallowed-references to cmake and don't let ldc depend on tzdata Ludovic Courtès
2023-05-26 17:44       ` Leo Famulari
2023-05-17 21:26     ` bug#63004: [PATCH 2/2] gnu: ldc-bootstrap: Don't " Josselin Poiret via Guix-patches via
2023-05-18 16:59       ` [bug#63004] " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ba08c4d2a7948431e72cd32466b1526fed35f56.1682110198.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=63004@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.