Hi divoplade,
As I understand it, ‘gexp->derivation’ returns a value in the store
monad. I’m not sure why ‘guix build’ doesn’t know how to use it
directly, but you can get at the derivation by wrapping it with
‘run-with-store’:
(run-with-store (open-connection)
(gexp->derivation
Hello,
I am still learning how to use gexps, and I thought that running this
would work:
guix build -f example.scm
with example.scm containing:
(use-modules (gnu packages base))
(use-modules (guix gexp))
(define build-exp
#~(begin
(mkdir #$output)
(chdir #$output)
(symlink