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: Wed, 31 Aug 2016 18:15:40 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf8B2-0008I7-DS for help-guix@gnu.org; Wed, 31 Aug 2016 12:15:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bf8Ax-00070s-9M for help-guix@gnu.org; Wed, 31 Aug 2016 12:15:47 -0400 Received: from mail-yb0-x22a.google.com ([2607:f8b0:4002:c09::22a]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bf8Av-00070Z-Se for help-guix@gnu.org; Wed, 31 Aug 2016 12:15:43 -0400 Received: by mail-yb0-x22a.google.com with SMTP id a7so18973460ybi.0 for ; Wed, 31 Aug 2016 09:15:41 -0700 (PDT) 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: help-guix@gnu.org Hi, So one issue that happens when cross building is for things that have the #:no-substitutes #t enabled. This is mainly found in service derivations for generating configuration files. I guess if you aren't using substitutes at all and want to cross-compile everything, it will take a while till you hit this problem. I have not found a solution to this problem yet, but I think it should be possible to get gexp->script and gexp->file to ignore the #:system and #:target, since I don't think there's a reason why configuration files can't be cross-built. David