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 12:55:25 +0100 Message-ID: <20170103125525.1e361945@scratchpost.org> References: <20170103021018.64ac3887@scratchpost.org> <20170103033234.7d3573ec@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]:45211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cONgk-0005sL-7M for guix-devel@gnu.org; Tue, 03 Jan 2017 06:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cONge-0005Wa-4i for guix-devel@gnu.org; Tue, 03 Jan 2017 06:55:34 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:40317) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cONgd-0005WM-Uq for guix-devel@gnu.org; Tue, 03 Jan 2017 06:55:28 -0500 In-Reply-To: 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: David Craven Cc: guix-devel On Tue, 3 Jan 2017 11:57:48 +0100 David Craven wrote: > > For these I'd like to pass "--cfg=unix" and I'd like to put it into the package recipe and not hardcode it into the build system. > > Nice, didn't know about this flag. That explains why it refused to > build without the windows dependencies. I take it back. It's not that easy, unfortunately. That flag either doesn't exist anymore or not yet in stable. In any case while there are forum posts about it it doesn't actually work.