all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to use gexps in builds?
@ 2019-05-08  6:33 nly
  2019-05-15 21:05 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: nly @ 2019-05-08  6:33 UTC (permalink / raw)
  To: help-guix


...
(build-system trivial-build-system)
`(#:modules ((guix gexp))
         #:builder
         (gexp->derivation "gnumake"
                           #~(begin
                               (mkdir #$output)
                               (chdir #$output)
                               (symlink #$gnu-make #$output)))
         ))
...

The above form looks like it asks for too many (use-modules ...) (6 or
even more). What am I missing?

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

* Re: How to use gexps in builds?
  2019-05-08  6:33 How to use gexps in builds? nly
@ 2019-05-15 21:05 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-05-15 21:05 UTC (permalink / raw)
  To: nly; +Cc: help-guix

Hi,

It’s not possible yet to use gexps here, but there’s a
‘wip-build-systems-gexp’ branch that’s about making it possible.

When it becomes possible (hopefully soonish), you’ll write something
like:

  (build-system trivial-build-system)
  (arguments
   `(#:builder ,#~(begin …)))

HTH!

Ludo’.

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

end of thread, other threads:[~2019-05-15 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08  6:33 How to use gexps in builds? nly
2019-05-15 21:05 ` Ludovic Courtès

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.