From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: A postinst equivalent in Guix? Date: Mon, 23 Jan 2017 10:34:55 +0100 Message-ID: <87vat6xgow.fsf@gnu.org> References: <87efzxakmi.fsf@gnu.org> <20170121143923.vdmmljvc3ngksuze@gmail.com> <87wpdojujk.fsf@gnu.org> <20170121163636.jyieflzslmyrtrmw@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVb1h-0002Mi-Rr for guix-devel@gnu.org; Mon, 23 Jan 2017 04:35:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVb1e-0000Hs-Ot for guix-devel@gnu.org; Mon, 23 Jan 2017 04:35:01 -0500 In-Reply-To: <20170121163636.jyieflzslmyrtrmw@gmail.com> (Georgi Kirilov's message of "Sat, 21 Jan 2017 18:36:36 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Georgi Kirilov Cc: guix-devel@gnu.org Georgi Kirilov skribis: > On Sat, Jan 21, 2017 at 04:34:55PM +0100, Ludovic Court=C3=A8s wrote: > >>To make things more concrete, we could discuss specific packages you are >>interested in and see how we could provide them in Guix{,SD}. > > The package is the old bsd-games bundle. Some of the games need to > write score files under /var/lib/bsdgames/ > You can find attached my patch so far. The patch looks good to me! As for /var/lib/bsdgames, then it=E2=80=99s up to the admin to set the right permissions on it. We can ensure that it exists and has the right permissions on GuixSD, but on foreign distros, there=E2=80=99s nothing we c= an do. We could also modify bsd-games such that it falls back to ~/.local/bsdgames when /var/lib/bsdgames isn=E2=80=99t accessible (and it w= ould be worth submitting upstream). ISTR this was discussed for one of the games present in Guix. WDYT? Ludo=E2=80=99.