From patchwork Mon Sep 2 15:33:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 15241 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 B23511734D; Mon, 2 Sep 2019 16:36:44 +0100 (BST) 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 7598B17329 for ; Mon, 2 Sep 2019 16:36:44 +0100 (BST) Received: from localhost ([::1]:37626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oNn-0003pI-Si for patchwork@mira.cbaines.net; Mon, 02 Sep 2019 11:36:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42772) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4oMN-0002NA-23 for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4oML-0004kp-TP for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4oML-0004ka-QK for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i4oML-0006ev-Mg for guix-patches@gnu.org; Mon, 02 Sep 2019 11:35:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36477] [PATCH v3 37/48] gnu: mdadm: Fix cross-compilation. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Sep 2019 15:35:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36477 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 36477@debbugs.gnu.org Received: via spool by 36477-submit@debbugs.gnu.org id=B36477.156743849125311 (code B ref 36477); Mon, 02 Sep 2019 15:35:13 +0000 Received: (at 36477) by debbugs.gnu.org; 2 Sep 2019 15:34:51 +0000 Received: from localhost ([127.0.0.1]:58817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oLy-0006a4-JL for submit@debbugs.gnu.org; Mon, 02 Sep 2019 11:34:50 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:39670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4oLb-0006Vc-16 for 36477@debbugs.gnu.org; Mon, 02 Sep 2019 11:34:29 -0400 Received: by mail-wm1-f49.google.com with SMTP id n2so13671027wmk.4 for <36477@debbugs.gnu.org>; Mon, 02 Sep 2019 08:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=udBFUCNutACftLpZ59EMTMbN6CgXVp9+ZHfQ4Mho5Lk=; b=cWN6nYFariykjcNfLpivgrtW0sQ3XDyP865agnOtRd8vhodRtqLHuhBvWzL7/jfDnR cuSVlwzphVG+ONC9Z1g7xKNj9kBdc6RaBe+zgdgURX+LlYT0kHDgii4PthqDYDK+ad/d QNR84HbLGoFwq6bXneLrnX7sDld8sKpd3+VeKxOl41T7ZO84B+jzlCd9DhB4IWPG7/jp 6W1vHUqTWLObHmWnhm/UmOzFu7waglSWvPyVvuT5froLK2aXm0zbvVQJR6N1V3gsNrAK eiu+5Ry/bk0VT9ceLZsw0NNn+BewlQKq0h6y4CGT/ptxTvG5Idw3hdHisSo/qnARrSbw UzUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=udBFUCNutACftLpZ59EMTMbN6CgXVp9+ZHfQ4Mho5Lk=; b=QTK03phyR6ReAleYkbjWplIoqLE8rJPgf6pAM1Yvp+hhZaggaPLaKgmE7S8mnW6oVP 9fLqEI9OPJ+9IL+kPXxQJomog4tWepvzzR0fEpN2DfH3UUUmp4MykEZx1+tQ+YhY6wRc jUvl2ZKaexAPYnB/EhiyHt6nDFgwk4ht7MsiAQDWAqsfaLnUIqrW0do2umSZZJACp+QR JK191KC5kaRWWoO2ySqOsI4QFWqTRwruQZMKJIEhz5XWXwX1LOM0pvbMsEPKSAZeg5we e97a0h9GSjGNctTDQLpCrlXExhPP9AbACRTb3oyZtGpT75Ep2I8j27inTTDRrpBBbcBy XMoQ== X-Gm-Message-State: APjAAAWkFKf8j8aBba0HBZ+zJueTiN+cwPCzuSkobiNVi7t3pxo2lsL7 cNq0yGApEl5rkmMr1AzEKIegSz3P X-Google-Smtp-Source: APXvYqzw+vVHKQF5ebB+a4M90etInwbPz+rw/VgaSjc7btsAZukg4U/0zOS+FPA17vNoK4p9Dq5J6w== X-Received: by 2002:a7b:cb81:: with SMTP id m1mr36053460wmi.124.1567438461339; Mon, 02 Sep 2019 08:34:21 -0700 (PDT) Received: from localhost.localdomain ([80.12.63.115]) by smtp.gmail.com with ESMTPSA id b26sm17232265wmj.14.2019.09.02.08.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 08:34:20 -0700 (PDT) From: Mathieu Othacehe Date: Mon, 2 Sep 2019 17:33:22 +0200 Message-Id: <20190902153333.11190-38-m.othacehe@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190902153333.11190-1-m.othacehe@gmail.com> References: <20190902153333.11190-1-m.othacehe@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: , Cc: Mathieu Othacehe Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (mdadm)[arguments]: Search for coreutils in both native-inputs and inputs. --- gnu/packages/linux.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ed2d21859d..47e6c1da53 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3528,8 +3528,9 @@ MPEG-2 and audio over Linux IEEE 1394.") #:phases (modify-phases %standard-phases (add-before 'build 'patch-program-paths - (lambda* (#:key inputs #:allow-other-keys) - (let ((coreutils (assoc-ref inputs "coreutils"))) + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (let ((coreutils (assoc-ref (or native-inputs inputs) + "coreutils"))) (substitute* "udev-md-raid-arrays.rules" (("/usr/bin/(readlink|basename)" all program) (string-append coreutils "/bin/" program))))