From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: Cross-building GuixSD (and maybe using pre-built toolchains) Date: Sat, 3 Sep 2016 14:59:54 +0200 Message-ID: References: <201608302326.38349.paul@boddie.org.uk> <201608312349.49957.paul@boddie.org.uk> <87shtkujko.fsf@gnu.org> <201609011751.42108.paul@boddie.org.uk> <87oa45nnup.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgAYG-0007rb-Vm for help-guix@gnu.org; Sat, 03 Sep 2016 09:00:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgAYB-0003uB-20 for help-guix@gnu.org; Sat, 03 Sep 2016 09:00:04 -0400 Received: from mail-yw0-x22f.google.com ([2607:f8b0:4002:c05::22f]:36797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgAY9-0003ts-Rs for help-guix@gnu.org; Sat, 03 Sep 2016 08:59:58 -0400 Received: by mail-yw0-x22f.google.com with SMTP id d130so56841485ywc.3 for ; Sat, 03 Sep 2016 05:59:55 -0700 (PDT) In-Reply-To: <87oa45nnup.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: help-guix@gnu.org > It=E2=80=99s on purpose, and packages rarely (if even) need to refer to > #:native-inputs; only a couple of phases in gnu-build-system.scm refer > to #:native-inputs. > > In which context do you need to refer to #:native-inputs? Cross-compiling the linux kernel. > ;; Apply the neat patch. > (system* "patch" "-p1" "--force" > "-i" (assoc-ref inputs "patch/freedo+gnu")) and > (mit (assoc-ref inputs "module-init-tools"))) fail for no "real" reason. I could add a (if target native-inputs inputs) but it seems ugly and think it might be a common problem?