From patchwork Sun Dec 15 14:50:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 16525 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EE8BA178E0; Sun, 15 Dec 2019 14:51:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BB258177F2 for ; Sun, 15 Dec 2019 14:51:08 +0000 (GMT) Received: from localhost ([::1]:40394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igVEi-0001rX-Ai for patchwork@mira.cbaines.net; Sun, 15 Dec 2019 09:51:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45359) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igVEd-0001rQ-1F for guix-patches@gnu.org; Sun, 15 Dec 2019 09:51:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igVEc-0002Dm-4m for guix-patches@gnu.org; Sun, 15 Dec 2019 09:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igVEb-0002Di-V0 for guix-patches@gnu.org; Sun, 15 Dec 2019 09:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1igVEb-0002RQ-UY for guix-patches@gnu.org; Sun, 15 Dec 2019 09:51:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38612] Pass system and target arguments to gexp->file. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2019 14:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38612@debbugs.gnu.org Received: via spool by 38612-submit@debbugs.gnu.org id=B38612.15764214519364 (code B ref 38612); Sun, 15 Dec 2019 14:51:01 +0000 Received: (at 38612) by debbugs.gnu.org; 15 Dec 2019 14:50:51 +0000 Received: from localhost ([127.0.0.1]:36065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igVER-0002Qy-Fu for submit@debbugs.gnu.org; Sun, 15 Dec 2019 09:50:51 -0500 Received: from mail-wr1-f53.google.com ([209.85.221.53]:40107) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igVEP-0002Qj-Q8 for 38612@debbugs.gnu.org; Sun, 15 Dec 2019 09:50:50 -0500 Received: by mail-wr1-f53.google.com with SMTP id c14so4117364wrn.7 for <38612@debbugs.gnu.org>; Sun, 15 Dec 2019 06:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=Ay9jY6j1gjclwgVGdGTQPgzIh1DxXTFImcJMZSi+664=; b=DmidmqCGIJSC8nWPJsLoooK7TWVP21EdDmwclpMsImI8obSxhtXJLbR4K3Bh9ReyBs 57zjlLiJ4BwyQitv/IN77QBt3yh/U6l6alhH6zjfb2PrBtcU3W9NOkcyQsg9MnKfWezQ WNKqqN4VIo2vYRn24o6fbfbHooHjQ2RwrZ0y+Yqkwa4OtR4G4o/4v2AOg9NxC06iLdVV OWFDdDU4wXLud8t4jHSBEJYdP7qRFY2J54q5M1xPJNBE3KVB7ktX5y7GEyLpfiB7QpyM qAo4cz1oO4E657SVTMAnpn+UpdztYgGAsaKFvgrW9XlYx6DoxCgKbWd+6NPB83fSaelr hJQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=Ay9jY6j1gjclwgVGdGTQPgzIh1DxXTFImcJMZSi+664=; b=n14+O/hxDceQ+DWv0gLHXcYsoLXbRfgVfSAVmcIqLqmgb++w5XWV+kMQ9yR4CZknHZ aYJnBZJSAzBkFG7XOOjQikyaLXbDvP1oAWcQ1bOEQ0YzJBVX3Bo0aqCR+Ogrcdlj6ga5 qOm1Gqj6OHrvCLWleyj/EjhiWZoPUt0+KEdRX58iC64abq0bHUM0Qm/TiewhV0GRFtF2 XhCmCC6DFyGBDbz/OQihR1pK9NIh7eOqwFX3XMOADCAvF5TIGdEHBtj+7vhwNP1yqDm5 t/XHQCpG+UYgse++hpKHH7h+95gr856qezjjjGI8dz/G4zJHxfukcPrfTgIwRWFWSiiJ EGQg== X-Gm-Message-State: APjAAAUAuUGAKwEygT2PFvwOVSgqdUTreMmpEn34AAKkWPOkSsZ8yNMq lni/YuffvXfsbyh0SWSKjhCVRIVn X-Google-Smtp-Source: APXvYqw0tsxx669FQqQX+s3oCWyhbQG7ObDwh/wJLjjOefkPGOeR3Hm7LvMnfdJrJzlTGIoS7sIrHw== X-Received: by 2002:a5d:6703:: with SMTP id o3mr26336094wru.235.1576421443914; Sun, 15 Dec 2019 06:50:43 -0800 (PST) Received: from cervin ([2a01:e0a:fa:a50:7432:4a59:232e:bf96]) by smtp.gmail.com with ESMTPSA id c15sm17453784wrt.1.2019.12.15.06.50.42 for <38612@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 06:50:42 -0800 (PST) References: <87a77ug6vv.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe In-reply-to: <87a77ug6vv.fsf@gmail.com> Date: Sun, 15 Dec 2019 15:50:41 +0100 Message-ID: <8736dl8wxq.fsf@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches In the same spirit, here's another patch to fix profile-derivation. Mathieu From 964f14a8bbd420f0f9207f1a666badaaaf625e3e Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 14 Dec 2019 18:39:59 +0100 Subject: [PATCH] profile-derivation: Use current system and target. * guix/profiles.scm (profile-derivation): Use current system and target. --- guix/profiles.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index 616605151e..a328e40687 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -1438,7 +1438,8 @@ MANIFEST." (locales? #t) (allow-collisions? #f) (relative-symlinks? #f) - system target) + (system (%current-system)) + (target (%current-target-system))) "Return a derivation that builds a profile (aka. 'user environment') with the given MANIFEST. The profile includes additional derivations returned by the monadic procedures listed in HOOKS--such as an Info 'dir' file, etc. -- 2.24.0