all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anonymous <mcrfan96@cock.li>
To: "32162@debbugs.gnu.org" <32162@debbugs.gnu.org>
Subject: [bug#32162] FW: [bug#32162] [PATCH] gnu: Add nethack
Date: Tue, 17 Jul 2018 14:08:03 -0700	[thread overview]
Message-ID: <642AA233-EAF7-4C43-9FC6-C946F096C8DA@cock.li> (raw)
In-Reply-To: <B8BAA1C7-89C3-4229-869C-498CF2CC80DB@cock.li>



On 7/17/18, 2:07 PM, "Anonymous" <mcrfan96@cock.li> wrote:

    On 7/17/18, 2:00 PM, "Ludovic Court=C3=A8s" <ludo@gnu.org> wrote:
    
        Anonymous <mcrfan96@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.
    
    Unfortunately, rename-file doesn't appear to work on directories, and at
    least "save" is a directory. Is it worth trying to address this, or is using "mv" ok?
    

  parent reply	other threads:[~2018-07-17 21:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15  5:42 [bug#32162] [PATCH] gnu: Add nethack Anonymous
2018-07-17 12:45 ` Ludovic Courtès
2018-07-17 18:12   ` Anonymous
2018-07-17 21:00     ` Ludovic Courtès
     [not found]       ` <B8BAA1C7-89C3-4229-869C-498CF2CC80DB@cock.li>
2018-07-17 21:08         ` Anonymous [this message]
2018-07-17 21:08     ` Leo Famulari
2018-07-17 18:07 ` mcrfan96
2018-07-17 22:11   ` bug#32162: " 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

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

  git send-email \
    --in-reply-to=642AA233-EAF7-4C43-9FC6-C946F096C8DA@cock.li \
    --to=mcrfan96@cock.li \
    --cc=32162@debbugs.gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.