From: "(" <paren@disroot.org>
To: Reza Housseini <reza.housseini@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: G-expressions in native-search-paths
Date: Tue, 08 Aug 2023 11:39:42 +0100 [thread overview]
Message-ID: <87o7jh24un.fsf@disroot.org> (raw)
In-Reply-To: <b07c668e-2fd3-f438-f8d4-a197037cc2f7@gmail.com>
Reza Housseini <reza.housseini@gmail.com> writes:
> [[PGP Signed Part:Undecided]]
>> There's two issues here:
>> One, you can't use a gexp in FILES. This will work fine:
>> (files (list (string-append "share/" name "-" version)))
>
> "name" and "version" come directly from the package definition?
> How do I know where to use gexp's and where not?
Have a read of these:
Dissecting Guix, Part 1: Derivations
https://guix.gnu.org/en/blog/2023/dissecting-guix-part-1-derivations/
Dissecting Guix, Part 2: The Store Monad
https://guix.gnu.org/en/blog/2023/dissecting-guix-part-2-the-store-monad/
Dissecting Guix, Part 3: G-Expressions
https://guix.gnu.org/en/blog/2023/dissecting-guix-part-3-g-expressions/
-- (
prev parent reply other threads:[~2023-08-08 10:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 9:01 G-expressions in native-search-paths Reza Housseini
2023-08-08 9:36 ` (
2023-08-08 9:50 ` Reza Housseini
2023-08-08 10:39 ` ( [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7jh24un.fsf@disroot.org \
--to=paren@disroot.org \
--cc=help-guix@gnu.org \
--cc=reza.housseini@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.