unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: Saku Laesvuori <saku@laesvuori.fi>, help-guix@gnu.org
Subject: Re: Store path in package definition
Date: Sat, 27 Aug 2022 12:44:45 +0200	[thread overview]
Message-ID: <29666c61-d819-06cd-d6a5-2192b024d2be@crazy-compilers.com> (raw)
In-Reply-To: <20220825192153.ryee2wgwckibj3wz@X-kone>

Am 25.08.22 um 21:21 schrieb Saku Laesvuori:
> I'm writing a package definition for
> [passff-host](https://github.com/passff/passff-host) which requires a
> file to reference another file with an absolute path (passff.json must
> reference passff.py). How can I get the resulting store path to patch it
> to the file? I would assume I have to do something with gexps but
> couldn't figure it out by reading the documentation.

Please have a look at

- phase set-python-file-name of python-ipykernel

or

- phase call-wrapper-not-wrapped-snakemake of snakemake

HTH

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



  reply	other threads:[~2022-08-27 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25 19:21 Store path in package definition Saku Laesvuori
2022-08-27 10:44 ` Hartmut Goebel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-26 20:39 Nathan Dehnel
2022-08-26 20:45 ` (
2022-08-26 21:09 ` Tobias Geerinckx-Rice
2022-08-28 14:30   ` Saku Laesvuori

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=29666c61-d819-06cd-d6a5-2192b024d2be@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=help-guix@gnu.org \
    --cc=saku@laesvuori.fi \
    /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).