From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id uLr1EXQXaWSOBQEASxT56A
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 20 May 2023 20:54:44 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id UG1PEXQXaWS5BQEAauVa8A
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 20 May 2023 20:54:44 +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 0BDC3290FA
	for <larch@yhetil.org>; Sat, 20 May 2023 20:54:44 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces@gnu.org>)
	id 1q0Riq-0005Tu-R0; Sat, 20 May 2023 14:54:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <guix-devel@gnu.org>)
 id 1q08JW-00031k-RB
 for guix-devel@gnu.org; Fri, 19 May 2023 18:11:06 -0400
Received: from cascadia.aikidev.net ([173.255.214.101])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <guix-devel@gnu.org>)
 id 1q08JV-0007BO-2c
 for guix-devel@gnu.org; Fri, 19 May 2023 18:11:06 -0400
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50])
 (Authenticated sender: vagrant@aikidev.net)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 16DED1AB8C;
 Fri, 19 May 2023 15:11:00 -0700 (PDT)
From: Vagrant Cascadian <guix-devel@gnu.org>
To: guix-devel@gnu.org
Cc: Philip McGrath <philip@philipmcgrath.com>
Subject: tracking /etc/profile.d/*guix.sh in downstream distributions
Date: Fri, 19 May 2023 15:10:53 -0700
Message-ID: <87sfbsht02.fsf@wireframe>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: softfail client-ip=173.255.214.101;
 envelope-from=guix-devel@gnu.org; helo=cascadia.aikidev.net
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001,
 SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Sat, 20 May 2023 14:54:31 -0400
X-BeenThere: guix-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Development of GNU Guix and the GNU System distribution."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: guix-devel-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684608884; a=rsa-sha256; cv=none;
	b=LGOFbZxVIz0Rz34T4ol52YSbQi2f+OnRRlateYn/tAzt3/4W3NTRvGttzrlDxeSOTmocvu
	LeiUMY9xY2/kiqt/M08RuuQ7UlrgcbLcc040zdsXtQ6WR1iqHb3QVpp/PLF5aOJqNMofV3
	MgzLc0+LtWfNRxTKP5GdmZh5b6GT9PEdrE7wd1ZXAQ/QV+6p1EqKfimvr9BMAI7zLWzoqg
	t+d6DbBtvVfKAb1ICTJECSxEgxwRvyGtyd1hATMR7D+A532pJG9qRJOa/+s1wyltAU3xJW
	SVeOMj4aJviS0BUXa64Q6lE3ok/rUFs6otUOPLlSl+SBru9+O8yhTdmrIaxqbg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1684608884;
	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:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post; bh=eOpWxXV9On3dyHGapZLKU92r3GKLpYdamgqLJ3JICqs=;
	b=fLNn8zLpBEscZnQIN7L5dNUbyruqT0CtRuWCYPgACVxFhYNV/qLnveF4JuB0RwZXAh+ODm
	TkBkEylrwFM28EaFjy9vP1v4723yjfpKkQgTjR/48drPr7HZ7ElHtVp7GlFY3bvU31qJKf
	cnzoeaU0JgZr9E99h9s7PXvjcs7RI2YGNZNbdD/gqc5BVaqZvkKJphV/hjSdhseTAcRzMT
	FfXs1Q5rdISSpT6WLRXZabVh6QXWL4HO6QkjgMTlRZc0Jipz05TyFA5RJj0kmZiuMaF6cl
	Ug7vIZAkO0j5gjaP4nDYdpQKUhyqRyP+scrhvd3X4t7HGAknUqGTt7Vc2bkppQ==
X-Migadu-Spam-Score: -4.38
X-Spam-Score: -4.38
X-Migadu-Queue-Id: 0BDC3290FA
X-Migadu-Scanner: scn0.migadu.com
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
X-TUID: 6qNQzuvzVEXT

--=-=-=
Content-Type: text/plain

Philip McGrath recently pointed out that the /etc/profile.d/guix.sh
snippet had not been updating in the Guix packaging for Debian:

  https://bugs.debian.org/1036304

(and as bonus complication, was also renamed to zzz-guix.sh)

The reason I never noticed before is because it is actually a manual
process, with this script embedded in the sys_create_init_profile()
function of etc/guix-install.sh ... and thus easy to miss when updating
packaging.

What would be the impact of separating the /etc/profile.d/zzz-guix.sh
into a separate file upstream? Would guix-install.sh need to be adjusted
to guix-install.sh.in so as to embed the contents of this file?

Alternately, maybe guix-install.sh could be updated to optionally output
or generate the zzz-guix.sh file either by passing commandline arguments
or some other conditional mechanism?

For the short term, I will try to update this manually, but would love
to see a longer term option for future releases!

I am somewhat hoping updating /etc/profile.d/zzz-guix.sh would also fix:

  https://bugs.debian.org/988260


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZGfz7QAKCRDcUY/If5cW
qrw0AP9eq7Hjyu4YRHQP41MTngflrAjDiDsJv27jouA+fQkcPQEAmjJSdv6Vx2+q
HqIhYVaqaK0uLxwCcCaXGBc9i8Ae9QM=
=ZORw
-----END PGP SIGNATURE-----
--=-=-=--