help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sourcing a script in phases


From: Reza Housseini
Subject: Re: Sourcing a script in phases
Date: Mon, 26 Dec 2022 13:52:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

(invoke "source" "env.sh")
or
(invoke "." "env.sh")

I had the same problem and ended up doing

(invoke "bash" "-c" "source env && ./command")

not the most elegant, but it did work.

Cheers,

--
Reza Housseini

This message is signed with my GnuPG key:

    C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

Attachment: OpenPGP_0xC375C6AF05125C52.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]