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 7c7cd8803..b2cb02e63 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?