aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-02-13 14:20:03 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-02-14 10:18:35 +0100
commit80345600faae388f508822818adfc990b1ebac66 (patch)
treecb2aab004a3f31156268c03b79d16d4bddab6c77 /guix
parent57075ade97e58eded5657ec74e5516d58f15eda6 (diff)
downloadgnu-guix-80345600faae388f508822818adfc990b1ebac66.tar
gnu-guix-80345600faae388f508822818adfc990b1ebac66.tar.gz
build: dub-build-system: Don't use "dub run" at all.
It doesn't make sense to run non-test executables (which is what "dub run" would do). The "check" function already invokes "dub test" and that's enough. * guix/build/dub-build-system.scm (build): Remove "dub run" invocation.
Diffstat (limited to 'guix')
-rw-r--r--guix/build/dub-build-system.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/build/dub-build-system.scm b/guix/build/dub-build-system.scm
index 7c7cd8803c..b2cb02e639 100644
--- a/guix/build/dub-build-system.scm
+++ b/guix/build/dub-build-system.scm
@@ -91,9 +91,7 @@
(grep* "sourceLibrary" "dub.sdl") ; note: format is different!
(grep* "sourceLibrary" "dub.json"))
#t
- (let ((status (zero? (apply system* `("dub" "build" ,@dub-build-flags)))))
- (system* "dub" "run") ; might fail for "targetType": "library"
- status)))
+ (zero? (apply system* `("dub" "build" ,@dub-build-flags)))))
(define* (check #:key tests? #:allow-other-keys)
(if tests?