From 80345600faae388f508822818adfc990b1ebac66 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 13 Feb 2017 14:20:03 +0100 Subject: [PATCH] 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. --- guix/build/dub-build-system.scm | 4 +--- 1 file changed, 1 insertion(+), 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 @@ (define* (build #:key (dub-build-flags '()) (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?