From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJjGDdwEHGE4FAEAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 20:50:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SLZ6CdwEHGHPYwAA1q6Kng (envelope-from ) for ; Tue, 17 Aug 2021 18:50:04 +0000 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 AB288B368 for ; Tue, 17 Aug 2021 20:50:03 +0200 (CEST) Received: from localhost ([::1]:40288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG49y-0002Ny-KB for larch@yhetil.org; Tue, 17 Aug 2021 14:50:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG49n-0002Kn-HO for help-guix@gnu.org; Tue, 17 Aug 2021 14:49:51 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG49l-0007bX-4u for help-guix@gnu.org; Tue, 17 Aug 2021 14:49:51 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1629226183; cv=none; d=zohomail.com; s=zohoarc; b=kgX3z517Wl8vlMOxZHXuxVSM09wCehX1Wyhsei2gkYoJPklrkzbB0DfD1BGIGTzVxYgYzUzjqXqCc16BYhtK73r/zTj388YIiaJl9u+NXDWLlAccjHMJ4WLMxWGtYq6n3AsvFZmVqUSIJUAtoph/gmlWCzxWtR3N5YYLVdsbdOQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629226183; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Fk0s3sMxi4TJBZBaQ0LPztZoJCJYrMSucyHyiT2bFg4=; b=WNVVR+ICiZgusJjSJttu3ZShGKI0ADZvypSddqfXEuD0rSlCWxMpAGlaG/qP/6uhc4kbtOMqP0tldUBgN+gXvonTKcUekm0BmxiawW+xUGxI4Uta9sdocKf1ZNE7frSmRDBkx+/OW8NZfLP5t3giYPyyXWcJLdZ/OniZ+s4T9JU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=rdklein.fr; spf=pass smtp.mailfrom=edou@rdklein.fr; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1629226183; s=zoho; d=rdklein.fr; i=edou@rdklein.fr; h=References:From:To:Cc:Subject:In-reply-to:Message-ID:Date:MIME-Version:Content-Type; bh=Fk0s3sMxi4TJBZBaQ0LPztZoJCJYrMSucyHyiT2bFg4=; b=ISbGTDsOR/KiiiCTAi3tS4G3Cu2W+V/qeZ63raCgIqoTEKYdh6gmECnMxYlia1os V9wJaVZl8zIggcoS0jx3nUCv3OEM4g4GX1XlBjJQH9AcZ8oU6W3EJefQzQwpoz/ZJ1y XDMhyMSeZX6Qxuvv5mZH8SuAkN2U1RmTzsfwJxws= Received: from Rasoir (7.87.95.79.rev.sfr.net [79.95.87.7]) by mx.zohomail.com with SMTPS id 1629226180236430.5998366077913; Tue, 17 Aug 2021 11:49:40 -0700 (PDT) References: <87v9442ms4.fsf@rdklein.fr> User-agent: mu4e 1.4.15; emacs 27.2 From: Edouard Klein To: Leo Famulari Subject: Setting TZDIR (was Re: A single reference to installed non-binaries) In-reply-to: Message-ID: <87mtpf3o08.fsf@rdklein.fr> Date: Tue, 17 Aug 2021 20:49:27 +0200 MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edou@rdklein.fr; helo=sender4-op-o11.zoho.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629226203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Fk0s3sMxi4TJBZBaQ0LPztZoJCJYrMSucyHyiT2bFg4=; b=eWnEIqF9Vb5EIPDeW602B0UCrA1RJTY9/oet2nZ4LdHfg2RPQSYKMXOliQsfxprzmMsoCh YuYEYLZg5bEmil8IdrtJIFt2CxqOMR0EtOirQc/WDFwfKW5R1+eomiyiI2Ldh6Bw5rUnEV YIGsBK2xFI/u02l9u2JAx/D8feijf+h6hNK7iRvcRO6FZcxOaXUNNY4UNHfoMFuECw2gu8 mof5Kdv4WTZe+zImrShaXb+7ysfrLIrm1eDdEbFZw5NeyahvDbdWP++asqsXieHNrAOxJH VORGjLPRy6F3/sKs4pDsVkMyyDuWpToAtX8yGqcbsc2DomDI1EHeXgGcwesIcw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1629226203; a=rsa-sha256; cv=fail; b=ExSHf5Jzc2mTDGhjwi31fCMxeEM6WtESZaciYVhNizxqcBnjJxsW5sf+wN+wRBk/76vCBr GiVZYmrzX7xacjKXrcJETdYaCGrtuiYgOcXrYIvAUCu7NCDtXtiaVfSE1faW2yKxQ3bAPz XtDRr2baV8qumICm4/mNSeCeBxu1ILzyBwXUJ5d0NYTaEHG8DVCI0Q86kHQ9Q2S0ifSF94 sJiY1mi/RtDo46lSBxI3xAjP18BVjo06mmfl/rzw7UIudjZHCoCLKqDPJwdZoQDfE1yCDL RQOS2IydXxgbNaAFmVTvUqXKalR605JVyjoVpwp8H79KF10FdsgSCH4LMVeHzQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=rdklein.fr header.s=zoho header.b=ISbGTDsO; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=rdklein.fr header.s=zoho header.b=ISbGTDsO; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: AB288B368 X-Spam-Score: -0.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: n3B2TDUfC/Kb Leo Famulari writes: > On Tue, Aug 17, 2021 at 04:01:15PM +0200, Edouard Klein wrote: >> See e.g. >> https://gitlab.com/edouardklein/guix/-/blob/beaverlabs/beaver/packages/scheme-xyz.scm#L68 >> >> Here, xlsxio and tzdir will be expanded to their full install path in >> the store. > > I'm going off-topic, but you should not patch TZDIR like this. I appreciate you going off-topic to warn me about a mistake ! Thanks :) > > The time zone database should be found dynamically at run-time via an > environment variable set by the system. Otherwise, your built package > will eventually "go stale" as the time zone database is updated, which > happens several times per year. > > Does that make sense? It does, thanks, but I'm in a bit of a pickle there because this packagge needs, for reasons outside of my control, to be deployable on a multitude of host (non-GuixSD) linux distributions, and as a docker container. In those cases, I can't expect the timezone data to be up to date or to be there at all. Even if I list tzdata as a dependency, the host system's TZDIR will not point to it. I understand that if I regularly guix pull and guix package -u, then the tzdata package will be kept up to date. Is that correct ? If it is, then I need to rebuild the .tar.gz and the docker image every so often, and this problem would be solved for the foreing distros as well. Thanks for alerting me about this ! Cheers, Edouard.