> Modulo typos, and indentation being weird because 'phone,
>
> (arguments
> (list
> #:make-flags
> #~(list (string-append "HELLO=" #$output "/bin/hello"))
> #:phases
> #~(modify-phases %standard-phases
> (add-after 'unpack 'option-one
> (lambda _
>(substitute* "foo.c"
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
t
Hi,
On 26 August 2022 20:39:55 UTC, Nathan Dehnel wrote:
>Would something like this work?
>
>(string-append (assoc-ref %outputs "out") "/passff.py")
Consider this deprecated. It's unreliable and even where it appears to work
can break for what seems to be no reason when, e.g., cross-compiling.
On Fri Aug 26, 2022 at 9:39 PM BST, Nathan Dehnel wrote:
> (string-append (assoc-ref %outputs "out") "/passff.py")
s/\(assoc-ref %outputs "out"\)/#$output/ :)
-- (
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
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 so