summaryrefslogtreecommitdiff
path: root/guix/build-system/dub.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build-system/dub.scm')
-rw-r--r--guix/build-system/dub.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/guix/build-system/dub.scm b/guix/build-system/dub.scm
index 58a72fe828..55ad7decb8 100644
--- a/guix/build-system/dub.scm
+++ b/guix/build-system/dub.scm
@@ -63,8 +63,7 @@
(tests? #t)
(test-target #f)
(dub-build-flags ''())
- (phases '(@ (guix build dub-build-system)
- %standard-phases))
+ (phases '%standard-phases)
(outputs '("out"))
(search-paths '())
(system (%current-system))
@@ -76,7 +75,7 @@
(define builder
(with-imported-modules imported-modules
#~(begin
- (use-modules #$@modules)
+ (use-modules #$@(sexp->gexp modules))
(dub-build #:name #$name
#:source #+source
#:system #$system
@@ -85,8 +84,9 @@
#:tests? #$tests?
#:phases #$phases
#:outputs #$(outputs->gexp outputs)
- #:search-paths '#$(map search-path-specification->sexp
- search-paths)
+ #:search-paths '#$(sexp->gexp
+ (map search-path-specification->sexp
+ search-paths))
#:inputs #$(input-tuples->gexp inputs)))))
(mlet %store-monad ((guile (package->derivation (or guile (default-guile))