From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Antero Mejr <antero@mailbox.org>, 56331@debbugs.gnu.org
Cc: paren@disroot.org
Subject: [bug#56331] [PATCH] gnu: Update tzdata-for-tests.
Date: Fri, 01 Jul 2022 21:49:09 +0200 [thread overview]
Message-ID: <9377148b01b646f0fadb810cff5ce00b2ef1989c.camel@gmail.com> (raw)
In-Reply-To: <20220701130314.4046-1-antero@mailbox.org>
Am Freitag, dem 01.07.2022 um 13:03 +0000 schrieb Antero Mejr:
> * gnu/packages/base.scm (tzdata-for-tests): Install leap-
> seconds.list.
> ---
> gnu/packages/base.scm | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
> index 4bdc3e7792..a1d57611ee 100644
> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -1398,7 +1398,20 @@ (define-public tzdata
> ;;;
> ;;; Please make this a hidden-package if it is different from the
> primary tzdata
> ;;; package.
> -(define-public tzdata-for-tests tzdata)
> +(define-public tzdata-for-tests
> + (hidden-package
> + (package
> + (inherit tzdata)
> + (arguments
> + (substitute-keyword-arguments (package-arguments tzdata)
> + ((#:phases phases)
> + #~(modify-phases #$phases
> + (add-after 'install 'copy-leap-seconds-list
> + (lambda _
> + (copy-file "leap-seconds.list"
> + (string-append
> + #$output
> + "/share/zoneinfo/leap-
> seconds.list")))))))))))
That's exactly the patch you weren't supposed to write. It bumps
tzdata-for-tests, thus causing mass rebuilds, but doesn't bump tzdata.
Cheers
prev parent reply other threads:[~2022-07-01 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-01 1:53 [bug#56331] [PATCH] gnu: Graft tzdata to install leap-seconds.list Antero Mejr via Guix-patches via
[not found] ` <handler.56331.B.165664042219716.ack@debbugs.gnu.org>
2022-07-01 2:08 ` [bug#56331] Acknowledgement ([PATCH] gnu: Graft tzdata to install leap-seconds.list.) Antero Mejr via Guix-patches via
2022-07-01 9:43 ` [bug#56331] [PATCH] gnu: Graft tzdata to install leap-seconds.list ( via Guix-patches via
2022-07-01 13:03 ` [bug#56331] [PATCH] gnu: Update tzdata-for-tests Antero Mejr via Guix-patches via
2022-07-01 19:49 ` Liliana Marie Prikler [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9377148b01b646f0fadb810cff5ce00b2ef1989c.camel@gmail.com \
--to=liliana.prikler@gmail.com \
--cc=56331@debbugs.gnu.org \
--cc=antero@mailbox.org \
--cc=paren@disroot.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).