diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-02-13 14:20:03 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-02-14 10:18:35 +0100 |
commit | 80345600faae388f508822818adfc990b1ebac66 (patch) | |
tree | cb2aab004a3f31156268c03b79d16d4bddab6c77 | |
parent | 57075ade97e58eded5657ec74e5516d58f15eda6 (diff) | |
download | patches-80345600faae388f508822818adfc990b1ebac66.tar patches-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.
-rw-r--r-- | guix/build/dub-build-system.scm | 4 |
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? |