From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aIn9AcJTvmL9NAAAbAwnHQ (envelope-from ) for ; Fri, 01 Jul 2022 03:54:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iKcFAsJTvmIBYgAA9RJhRA (envelope-from ) for ; Fri, 01 Jul 2022 03:54:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 98FFE39975 for ; Fri, 1 Jul 2022 03:54:09 +0200 (CEST) Received: from localhost ([::1]:52262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o75rE-0004gl-FF for larch@yhetil.org; Thu, 30 Jun 2022 21:54:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o75r8-0004ga-KB for guix-patches@gnu.org; Thu, 30 Jun 2022 21:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o75r8-0000Yn-Bt for guix-patches@gnu.org; Thu, 30 Jun 2022 21:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o75r8-00058Y-9z for guix-patches@gnu.org; Thu, 30 Jun 2022 21:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56331] [PATCH] gnu: Graft tzdata to install leap-seconds.list. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Jul 2022 01:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56331 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56331@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165664042219716 (code B ref -1); Fri, 01 Jul 2022 01:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 01:53:42 +0000 Received: from localhost ([127.0.0.1]:35968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o75qn-00057w-Mt for submit@debbugs.gnu.org; Thu, 30 Jun 2022 21:53:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:59586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o75qj-00057m-Qb for submit@debbugs.gnu.org; Thu, 30 Jun 2022 21:53:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o75qi-0004Ue-L7 for guix-patches@gnu.org; Thu, 30 Jun 2022 21:53:37 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:40638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o75qb-0000Vf-QH for guix-patches@gnu.org; Thu, 30 Jun 2022 21:53:36 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LYysH2ctJz9sR3 for ; Fri, 1 Jul 2022 03:53:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1656640403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=XlCoHMVzQqpHKBKwj/efGke4a93F+7uQ0Mlw09nONe8=; b=XYG6DKylcLWgVsJLU2AJS/AK2FeKDimdBqy3Yezfz+oiOsTDGR2QZCOhSinuyDGTBFZWf9 cBIBO9BfDD9dX/DdLWVIlweeyuVU3+OWIRfHqliMltCbfhQcyW/zeaKbirBZxRh0O0vImQ BdobI3xkESdigBWpFTNoxdr7CtVnbUrrCtIlRdnw3BNTM4sdpC526R+sNGyhgqa+Q9wILh HqdOcWmT7bWHr5aRAT3EEVCKK22Gb97IVS/SaD/ulUbC6Xb1cooPOxItviKQ3EEl1jWHSx 6YxOHzqZKPMBT6TA8mKEGb/EmOUH/DUS333086IzOdcpixYh4eBrQ3UgyznN5A== Date: Fri, 1 Jul 2022 01:53:14 +0000 Message-Id: <20220701015314.7197-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: 2b20f4f2136aa767006 X-MBO-RS-META: tot8gai9kfkcxcar4kop7gfwd3udmgq3 X-Rspamd-Queue-Id: 4LYysH2ctJz9sR3 Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656640449; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XlCoHMVzQqpHKBKwj/efGke4a93F+7uQ0Mlw09nONe8=; b=rdxg56wk1qF13dTiX/lI7YGFSCW/mXHGfUxlSqTbvzEqlEkGqwEUvOrIp99LAZX18iVMF8 1IhqK/gY11BZeDVH2V9gYO+ZWv7lBq67GfG02Wam6m7tXC732cqJPwunnW/gSqCoF1qdkR ZZzTF7W3YFI0rafvgcinQcoox6BEuHweL2HvouFcmNQJHN5JYqizViMmzJEVpIXC221rFv jbamU3geseZ9pf/DLrY+/tEb9ovcdGrkzYcA7sFv2wpna/XzKAl1WHdARRmuWbQcehmU6U Dwdr5HukOr/ahCWWaHDix7iL5LhSbDeagyjTOunMb1g/D7fTvVyp0Sj9DYUACA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656640449; a=rsa-sha256; cv=none; b=a0ev9yXpBdKx//JTNZUhq4l6Nq4XQpJCEekqyrbGylEvDvZpKWZ1N3gJWBUbsllPlPpSRP qIFT/gqjZBSM6mLR3isaStkEoYJdNj7Z0wEnQToLt2Cw3RvZwrPEqYLoumNqrr2rvK9Mo2 V7a/jCeHjeVapIQE5oX2iJIvY7CG34NdTd8BxC42HTCoBdLlPDEAb0pU2sqfKnK3pgpAt/ czFgWl9yhAdlOYc4fygGj9Iiv402/kqyPw0OR6BAAMD292qjq7FSqdvjjOIygdooGHB6A/ AxrgeN85yPRfggUQdbHy6Z5qRYw/vIyVpTN7S8zaZdfgqxnSFAvwN1WjY1UOGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=XYG6DKyl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=XYG6DKyl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 98FFE39975 X-Spam-Score: -4.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: F9wly3egCnBB * gnu/packages/base.scm (tzdata)[replacement]: New field. (tzdata-leap-seconds-list): New private variable. --- gnu/packages/base.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 4bdc3e7792..b265b429d5 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -1305,6 +1305,7 @@ (define-public tzdata ;; This package should be kept in sync with python-pytz in (gnu packages ;; time). (version "2022a") + (replacement tzdata-leap-seconds-list) (source (origin (method url-fetch) (uri (string-append @@ -1390,6 +1391,19 @@ (define-public tzdata and daylight-saving rules.") (license public-domain))) +(define tzdata-leap-seconds-list + (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")))))))))) + ;;; A "fixed" version of tzdata, which is used in the test suites of glib and R ;;; and a few other places. We can update this whenever we are able to rebuild ;;; thousands of packages (for example, in a core-updates rebuild). This package -- 2.36.1