GNU bug report logs - #32162
[PATCH] gnu: Add nethack

Previous Next

Package: guix-patches;

Reported by: Anonymous <mcrfan96 <at> cock.li>

Date: Sun, 15 Jul 2018 05:43:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Anonymous <mcrfan96 <at> cock.li>
Cc: 32162 <at> debbugs.gnu.org
Subject: [bug#32162] [PATCH] gnu: Add nethack
Date: Tue, 17 Jul 2018 23:00:38 +0200
Anonymous <mcrfan96 <at> cock.li> skribis:

>> Rather:
>>
>>   (for-each (lambda (file)
>>               (install-file file
>>                             (string-append … "/games/lib/nethackuserdir")))
>>             '(…))
>
> I wasn't able to use install-file, since I want the file to be moved, not
> copied. Let me know if there's a guile way to move a file (I couldn't find
> one).

You could use ‘rename-file’, which works like rename(2) in C.

> The other changes are incorporated into the patch which I think I just
> send with git send-email.

Alright, thanks!

Ludo’.




This bug report was last modified 6 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.