From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: cargo-build-system: cargo-build-flags: --cfg=unix in package recipe Date: Wed, 04 Jan 2017 11:38:51 +0000 Message-ID: <87mvf712d0.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20170103021018.64ac3887@scratchpost.org> <20170103033234.7d3573ec@scratchpost.org> <20170103125525.1e361945@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOjto-0007MJ-LF for guix-devel@gnu.org; Wed, 04 Jan 2017 06:38:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOjtl-0000UD-Jl for guix-devel@gnu.org; Wed, 04 Jan 2017 06:38:32 -0500 Received: from aibo.runbox.com ([91.220.196.211]:48112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOjtl-0000TH-D7 for guix-devel@gnu.org; Wed, 04 Jan 2017 06:38:29 -0500 In-Reply-To: <20170103125525.1e361945@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: Danny Milosavljevic Cc: guix-devel@gnu.org Danny Milosavljevic writes: > 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. Can we package rust nightly instead? The ABI is stable nowhere, but nightly has all the features while stable is limited. -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org