[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grue Hunter: Can't create directories in the store
From: |
Nikita Karetnikov |
Subject: |
Grue Hunter: Can't create directories in the store |
Date: |
Tue, 14 May 2013 23:36:18 +0400 |
I'm trying to package Grue Hunter [1].
The game is just a single Perl file. What directories should be created
in the store? And how can I create such directories?
I've tried several things:
1. (zero? (system (format #f "cp -r . ~a" out)))
Pollutes the profile with 'AGPLv3.txt', 'gh.pl', and 'README'.
2. (zero? (system (format #f "mkdir bin ~a/" out)))
Creates 'bin', but the output doesn't contain it.
3. (zero? (system (format #f "mkdir bin ~a/" out)))
(zero? (system (format #f "cp gh.pl ~a/bin/" out)))
Creates a file called 'bin', not a directory. Could anyone explain
why? Fails with:
cp: cannot create regular file
'/nix/store/clwpaljwanw7397qafxv82vj1b8jm82q-grue-hunter-1.0/bin/': Not a
directory
I'm attaching a recipe and a related patch.
[1] http://jxself.org/grue-hunter.shtml
grue-hunter.scm
Description: Text document
0001-licenses-Add-agpl3-and-agpl3.patch
Description: Text Data
pgp2WxNgVqv4V.pgp
Description: PGP signature
- Grue Hunter: Can't create directories in the store,
Nikita Karetnikov <=
- Re: Grue Hunter: Can't create directories in the store, Cyril Roelandt, 2013/05/14
- Re: Grue Hunter: Can't create directories in the store, Ludovic Courtès, 2013/05/15
- Re: Grue Hunter: Can't create directories in the store, Nikita Karetnikov, 2013/05/15
- Re: Grue Hunter: Can't create directories in the store, Ludovic Courtès, 2013/05/16
- Re: Grue Hunter: Can't create directories in the store, Nikita Karetnikov, 2013/05/24
- Re: Grue Hunter: Can't create directories in the store, Ludovic Courtès, 2013/05/24
- Re: Grue Hunter: Can't create directories in the store, Nikita Karetnikov, 2013/05/24
- Re: Grue Hunter: Can't create directories in the store, Ludovic Courtès, 2013/05/24
- [PATCH] gnu: Add Grue Hunter., Nikita Karetnikov, 2013/05/29
- Re: [PATCH] gnu: Add Grue Hunter., Ludovic Courtès, 2013/05/30