unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: guile-user@gnu.org
Cc: help-guix@gnu.org
Subject: walking up the filetree (in a Guix related package)
Date: Sun, 16 Apr 2017 13:56:27 +0000	[thread overview]
Message-ID: <20170416133501.v57fsvz65xon6s7f@abyayala> (raw)

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/

             reply	other threads:[~2017-04-16 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-16 13:56 ng0 [this message]
2017-04-17 10:45 ` walking up the filetree (in a Guix related package) Ricardo Wurmus

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20170416133501.v57fsvz65xon6s7f@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=guile-user@gnu.org \
    --cc=help-guix@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).