From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [FIXME] build: dub-build-system: Don't use "dub run" at all. Date: Mon, 13 Feb 2017 14:28:25 +0100 Message-ID: <20170213132825.10597-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdGgL-0007A0-0C for guix-devel@gnu.org; Mon, 13 Feb 2017 08:28:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdGgH-0006q8-QJ for guix-devel@gnu.org; Mon, 13 Feb 2017 08:28:41 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:48517) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cdGgH-0006pt-KW for guix-devel@gnu.org; Mon, 13 Feb 2017 08:28:37 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * guix/build/dub-build-system.scm (build): Modify. --- 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?