From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: Can we package NetHack? Date: Sun, 29 May 2016 18:54:31 -0400 Message-ID: <20160529185431.58fa5d51@openmailbox.org> References: <20160528164157.72c42344@openmailbox.org> <87oa7otswj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/re1+Xmi8bl/fwH.x7cNzBXD"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b79bj-0004Ya-Jz for guix-devel@gnu.org; Sun, 29 May 2016 18:54:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b79be-0003rS-7z for guix-devel@gnu.org; Sun, 29 May 2016 18:54:54 -0400 In-Reply-To: <87oa7otswj.fsf@gnu.org> 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: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org --Sig_/re1+Xmi8bl/fwH.x7cNzBXD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 30 May 2016 00:13:00 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Kei Kebreau skribis: >=20 > > NetHack tries to modify its state files in the store and none of its > > easily patchable directory variables allow anything different. > > NetHack also doesn't allow a ~/.nethack directory to be created in > > the user's directory upon running. Does anyone have any ideas or > > other packages that do this sort of thing? =20 >=20 > I suppose the state files are essentially score files? Don=E2=80=99t oth= er > games store things in /var/lib/something? What do other distros do? > :-) >=20 > Ludo=E2=80=99. Yes, the state files are high score lists, locks for the world files and such. The problem is that other distros give NetHack a directory to write those files to that would be equivalent to writing to our store. The only one I have seen that avoids this is NixOS. However, NixOS creates a ".nethack" directory within the user's folder (among other things) to work around this. I thought that this would be a problem for Guix, because installing and removing NetHack cleanly would necessitate directly writing to and erasing files within the user's directory. So I decided to mail the list to see if anyone could find a solution. :-) --=20 Kei (GPG Key: 4096R/E6A5EE3C19467A0D) --Sig_/re1+Xmi8bl/fwH.x7cNzBXD Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXS3MnAAoJEOal7jwZRnoNb3QP/jOOcQIjwJ3GAUTqoWUZOe9C GdsNM4imscsGpUXRDWY7OEolGgTR6UGO9bfZHoYotSmBvSyhCpE2IFZFFKA7Qh/F qdRd4wuoBfCXYGpaQBClZCpbzX7jHNxBXCWoXNKQEiofN7PrKbKk8qNhZtWUbczF Qgnx22+IePDkAS99qmOQotZyf+2wzoWIzS0UsnE+1WWMRbZEmxPSC2+HhrlZ6/ms waGK3xLL3sYF1gdOKuCKSeUIG7t9UrxmUIDjIsuxxAh9t98dUSiovWKUAoK8Mqum 0bohqk4Fb/bEbyHry3AcZDN86xELKc94H9zYkrAYrIIEge2nFoZ6fwb64LHX0jGL d/8KQIm6Fh7v01qxEN6u4Uf/hqqZRetzbOFxjt6g+JQhGDYcoUPnliPJ+d7eiYKc M/Ol20wSOH4hJd4UAqZ2AVAqg9NMb2OIYBjiFQeXAxH2ofnQeQHZC6HsWQUfM2DW 7yBJdzbPESIjuqHe6JLGwB2dCocut83gqGg1lMTu366ClapJFUQ918G9kjCda18L GtjUmNnTXMnMtHaDW79LXAmWJ31EXlqNCCBXB4OX3nNDHOzZ3WTEgFBj5JU/CmrY opequEr5Y0qT2sMD/4QfOdklLKroRO3hwXkkn/WzHg8LWEV+Wun8j9K06RBCvqt/ NupzPtQPEL79GBQNM8Qb =7Myq -----END PGP SIGNATURE----- --Sig_/re1+Xmi8bl/fwH.x7cNzBXD--