unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Kei Kebreau <kei@openmailbox.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Can we package NetHack?
Date: Sun, 29 May 2016 20:37:02 -0400	[thread overview]
Message-ID: <CAJ=Rwfb1QRn89rKNAFrLWh7tqq3sFkpJd_kTXw6h91kkK_i1oQ@mail.gmail.com> (raw)
In-Reply-To: <20160529185431.58fa5d51@openmailbox.org>

On Sun, May 29, 2016 at 6:54 PM, Kei Kebreau <kei@openmailbox.org> wrote:
> On Mon, 30 May 2016 00:13:00 +0200
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Kei Kebreau <kei@openmailbox.org> skribis:
>>
>> > 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?
>>
>> I suppose the state files are essentially score files?  Don’t other
>> games store things in /var/lib/something?  What do other distros do?
>> :-)
>>
>> Ludo’.
>
> 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. :-)

This isn't a problem.  Stateful files in home directories or elsewhere
are not managed by Guix.  A .nethack directory sounds like a fine
solution to me.

- Dave

  reply	other threads:[~2016-05-30  0:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-28 20:41 Can we package NetHack? Kei Kebreau
2016-05-29 22:13 ` Ludovic Courtès
2016-05-29 22:54   ` Kei Kebreau
2016-05-30  0:37     ` Thompson, David [this message]
2016-05-30  8:43       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=Rwfb1QRn89rKNAFrLWh7tqq3sFkpJd_kTXw6h91kkK_i1oQ@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=kei@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).