unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Store path in package definition
@ 2022-08-26 20:39 Nathan Dehnel
  2022-08-26 20:45 ` (
  2022-08-26 21:09 ` Tobias Geerinckx-Rice
  0 siblings, 2 replies; 6+ messages in thread
From: Nathan Dehnel @ 2022-08-26 20:39 UTC (permalink / raw)
  To: saku, help-guix

Would something like this work?

(string-append (assoc-ref %outputs "out") "/passff.py")

https://guix.gnu.org/cookbook/en/html_node/Extended-example.html#Build-system-arguments


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Store path in package definition
@ 2022-08-25 19:21 Saku Laesvuori
  2022-08-27 10:44 ` Hartmut Goebel
  0 siblings, 1 reply; 6+ messages in thread
From: Saku Laesvuori @ 2022-08-25 19:21 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

Hi,

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.

- Saku Laesvuori

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-28 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-26 20:39 Store path in package definition Nathan Dehnel
2022-08-26 20:45 ` (
2022-08-26 21:09 ` Tobias Geerinckx-Rice
2022-08-28 14:30   ` Saku Laesvuori
  -- strict thread matches above, loose matches on Subject: below --
2022-08-25 19:21 Saku Laesvuori
2022-08-27 10:44 ` Hartmut Goebel

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).