From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: cargo-build-system: cargo-build-flags: --cfg=unix in package recipe Date: Tue, 3 Jan 2017 02:46:39 +0100 Message-ID: <20170103024639.12e685ab@scratchpost.org> References: <20170103021018.64ac3887@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOEBa-0001eb-T5 for guix-devel@gnu.org; Mon, 02 Jan 2017 20:46:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOEBX-0001N9-St for guix-devel@gnu.org; Mon, 02 Jan 2017 20:46:46 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:43599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOEBX-0001N2-Lz for guix-devel@gnu.org; Mon, 02 Jan 2017 20:46:43 -0500 In-Reply-To: <20170103021018.64ac3887@scratchpost.org> 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, David Craven It was missing in guix/build-system/cargo.scm cargo-build as a keyword parameter. Adding (define* (cargo-build store name inputs #:key (tests? #t) (test-target #f) - (configure-flags #f) + (configure-flags #f) ; XXX unused + (cargo-build-flags ''("--release")) (phases '(@ (guix build cargo-build-system) %standard-phases)) (outputs '("out")) @@ -89,6 +99,7 @@ to NAME and VERSION." source)) #:system ,system #:test-target ,test-target + #:cargo-build-flags ,cargo-build-flags #:tests? ,tests? makes it work.