Reza Housseini <reza.housse...@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/ -- (