[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grue Hunter: Can't create directories in the store
From: |
Ludovic Courtès |
Subject: |
Re: Grue Hunter: Can't create directories in the store |
Date: |
Thu, 16 May 2013 18:33:37 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux) |
Nikita Karetnikov <address@hidden> skribis:
>> (let* ((gh (assoc-ref %build-inputs "source"))
>
> What is the associated value here? I assume it should be 'gh.pl'.
Yes. Actually, “source” is the name of the input that corresponds to
the ‘source’ field of the package. So, if your package does
(package
(source (origin (... (uri ".../gh.pl"))))
...)
then in the builder, (assoc-ref %build-inputs "source") will be
/nix/store/...-gh.pl.
> I guess I'm missing something because you said that "Guile and the (guix
> build utils) provide us with everything we need."
I meant they provide procedures equivalent in functionality to
Coreutils, Findutils, and sed.
> Also, why is it necessary to specify (guix build utils) in #:modules and
> import it via 'use-modules' in #:builder too? According to the manual,
> all arguments are passed to the build system.
(guix build utils) is not a standard Guile module, so if your build
script wants to use it, it needs to be made available in the chroot
where that build script is run. That’s what the #:module argument does.
Then ‘use-modules’ does the actual import.
HTH,
Ludo’.
- Grue Hunter: Can't create directories in the store, Nikita Karetnikov, 2013/05/14
- 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 <=
- 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