* walking up the filetree (in a Guix related package)
@ 2017-04-16 13:56 ng0
2017-04-17 10:45 ` Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-04-16 13:56 UTC (permalink / raw)
To: guile-user; +Cc: help-guix
Hi,
in https://github.com/neomutt/neomutt/pull/527 I'm trying to add a file
to neomutt which can be used to build the current checkout with Guix,
skipping the hash check.
This is very similar to what I use in the gnURL release procedure,
but it has one defect: It requires that the file is located in the
top sourcedirectory / root directory of the source.
I'm trying to change this:
(define %source-dir (dirname (current-filename)))
so that it interacts with the (source (local-file))
of the package and allows the package to sit in contrib/guix-neomutt.scm,
but I'm not sure how this can be achieved. All ways I've tried failed
so far. What part of the Guile documentation could help?
For the Guix list and cross subscribed people: did we introduce something
in Guix recently which maybe makes this way of defining the source obsolete?
Thanks!
--
PGP and more: https://people.pragmatique.xyz/ng0/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: walking up the filetree (in a Guix related package)
2017-04-16 13:56 walking up the filetree (in a Guix related package) ng0
@ 2017-04-17 10:45 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2017-04-17 10:45 UTC (permalink / raw)
To: ng0; +Cc: guile-user, help-guix
ng0 <contact.ng0@cryptolab.net> writes:
> This is very similar to what I use in the gnURL release procedure,
> but it has one defect: It requires that the file is located in the
> top sourcedirectory / root directory of the source.
>
> I'm trying to change this:
>
> (define %source-dir (dirname (current-filename)))
>
> so that it interacts with the (source (local-file))
> of the package and allows the package to sit in contrib/guix-neomutt.scm,
> but I'm not sure how this can be achieved. All ways I've tried failed
> so far. What part of the Guile documentation could help?
What have you tried and how have these attempts failed?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-17 10:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-16 13:56 walking up the filetree (in a Guix related package) ng0
2017-04-17 10:45 ` Ricardo Wurmus
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.