From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sOlbGaepDF+2YAAA0tVLHw (envelope-from ) for ; Mon, 13 Jul 2020 18:36:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eMVDFaepDF8gPAAAB5/wlQ (envelope-from ) for ; Mon, 13 Jul 2020 18:36:23 +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 EF6A49401CF for ; Mon, 13 Jul 2020 18:36:22 +0000 (UTC) Received: from localhost ([::1]:60192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv3JN-0000pI-QJ for larch@yhetil.org; Mon, 13 Jul 2020 14:36:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jv3J4-0000mO-IC for guix-devel@gnu.org; Mon, 13 Jul 2020 14:36:03 -0400 Received: from flashner.co.il ([178.62.234.194]:52730) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jv3J2-00058Q-5J for guix-devel@gnu.org; Mon, 13 Jul 2020 14:36:02 -0400 Received: from localhost (unknown [141.226.9.208]) by flashner.co.il (Postfix) with ESMTPSA id C61B2400B7; Mon, 13 Jul 2020 18:35:57 +0000 (UTC) Date: Mon, 13 Jul 2020 21:35:25 +0300 From: Efraim Flashner To: Jesse Gibbons Subject: Re: How to package inputrc Message-ID: <20200713183525.GD10256@E5400> References: <8e67dfb8-0e81-5cb0-50fe-202aecdd6854@gmail.com> <20200713183031.GC10256@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NklN7DEeGtkPCoo3" Content-Disposition: inline In-Reply-To: <20200713183031.GC10256@E5400> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/13 14:31:04 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.69 X-TUID: IBkCsgHch4bg --NklN7DEeGtkPCoo3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 13, 2020 at 09:30:31PM +0300, Efraim Flashner wrote: > On Mon, Jul 13, 2020 at 11:26:59AM -0600, Jesse Gibbons wrote: > > > In order to achieve this more elegant I could write a simple service = to > > > copy the file to /etc. Another option would be a small package. > >=20 > > I like the service idea a lot better. It appears to me that Guix is des= igned for services to deal with the more customizable parts of the installa= tion, whereas packages are standard. /etc/inputrc is one of those things ea= ch system admin would want to customize, just like most of the things in /e= tc. >=20 > I'll go ahead and link to my os-release service here. It's a small > service that creates an /etc/os-release file. The service in action=C2=B9= and > the actual service itself. It would also be possible to create an even > simpler file than the one I made here=C2=B2, with something like this: >=20 > (define %inputrc > (plain-file "inputrc" > "set show-mode-in-prompt on\n" > "set enable-bracketed-paste on\n" > "set editing-mode vi\n" > "Control-l: clear-screen\n" > "set bell-style visible\n")) The above wouldn't actually work. It needs a string-append or to not be multiple strings. > =C2=B9 https://gitlab.com/Efraim/guix-config/-/blob/master/E5400_config.s= cm#L68 > =C2=B2 https://gitlab.com/Efraim/guix-config/-/blob/master/config/os-rele= ase.scm >=20 > --=20 > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypt= ed --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NklN7DEeGtkPCoo3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8MqW0ACgkQQarn3Mo9 g1ExiQ//VnkftmshwMr4F11qNgN8807DHvpFy12NnosQr9Bhh5KS+Pw1uh8WoV9x ibDlJQAvJUkl5hCF1uofIX68+8UdN6LgG0xcjsTYI6SFoC3ac0tHMqyO8Fx6VfYp Wv50t9t64UIxfkVVobnpAPplonM4TCOG0AevoJFeNSVEmJJ61/KhxTaaEngw/ezV oEIXdH6ONa2JQuuipXXT9Bp/xJTxRHLl4dgIakTqjECS84694uDVsmBXw7uFQ6Pj uFBvHBHViZgSfrm2Awb9viltjppNdO7YK6pa7px9gr9e6yi9pEtPcs6i5+WoOiUL x2qFkFSU/O5HvCnfgelP5Ve8Sdv2vzJdnzO4a8NoKA+ZgmpFqDTNd40kzBMCKn7Y uWPjZjTwrqhBSdXp3c00zllO7aXiq2BxiffZl21IO13SklzvAG4Rq9GBF0cJ4S3J BlXjqt3oVl5ErcQIUvvsVnBBlWQtZ/22vq52+Q+s/rKwkb2T09++p9NDwItqYORW 1S208rM3RrmHloREkV7Gf5mv7CgUd7SqaXxKsFO8ugGcCf/kcujMnj9CCWkcSrfb qZ1nTUXBXJvKQYyI4qiSCNfN4+awpTKSV0uSjD8Mftb+5Wjn0DhBb+NrWhPs5QtF ouVVoW32mRpg5YAIduXmRbKYmVcfan2dbi5JSt3pIGl94OI9QIw= =/s3S -----END PGP SIGNATURE----- --NklN7DEeGtkPCoo3--