From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cE2XD6tizWFowAAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 08:41:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SL5VCKtizWG9ugAAG6o9tA (envelope-from ) for ; Thu, 30 Dec 2021 08:41:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1B1151798E for ; Thu, 30 Dec 2021 08:41:29 +0100 (CET) Received: from localhost ([::1]:52450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2q40-0006qo-85 for larch@yhetil.org; Thu, 30 Dec 2021 02:41:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2q3c-0006qM-Hy for guix-patches@gnu.org; Thu, 30 Dec 2021 02:41:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2q3a-0007sU-Pg for guix-patches@gnu.org; Thu, 30 Dec 2021 02:41:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2q3a-0006Te-PI for guix-patches@gnu.org; Thu, 30 Dec 2021 02:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v6 02/41] guix: node-build-system: Add implicit libuv input. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.164085005824860 (code B ref 51838); Thu, 30 Dec 2021 07:41:02 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:40:58 +0000 Received: from localhost ([127.0.0.1]:50950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q3T-0006Sh-69 for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:40:58 -0500 Received: from mail-ua1-f45.google.com ([209.85.222.45]:47077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q3Q-0006SH-77 for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:40:52 -0500 Received: by mail-ua1-f45.google.com with SMTP id c36so15677372uae.13 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OR+Y4twRr3s8Rn/RIH2mP3iVUWWT56VgTF28n5YcXZs=; b=FNtlZIpgigZn+56BBWRpd5WMUhWzhdlHzQwtAgE2RLYtUfDnl7wgbL5+BgxEaKsIkJ 4/4U3kRcCKi4hABb2j239PJ2MS3/nq3/O/0Ugg1bSniO6uHVP3DqbqTUZ1nKQLGhzxyL zj2eo+IVTp2Y09rU3g6CwCMRWjMtLAwBfOs91kg+6ngLOrRmqgzO2mt7BZU4rBsyUBAj nIQ/VEfoKwjsoqtj+agg6yHhoB6lwoHEBaRLP38CEQoixwwgpffQpiIpupze34ADv0y6 63eXL25JEulozWBNDuMUdI9KltGeVYH2t21Hk/a1HzBVwiS4P2n5pTem+k845tJbeFYS W17A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OR+Y4twRr3s8Rn/RIH2mP3iVUWWT56VgTF28n5YcXZs=; b=OV0+eetiw4d7dXDfPGZRvJkU93krc+H2GpOyNeJmWaaaluNdLnC726+a39N+Wg3hnr 3qXGzp6HYvjNkdZWQJ24KQSl4FzfLRzTN2AmaIJcLH/i+yWE9cM8xPDkwT+HYUXvt2dt JXPlZDb7svNeDJR+uO3Ywr8j5QBqDu3+NsLYKP4XcNJJMfCzmy6/dAEdbzKkpalrVprI GS8wnzmisMj7/ooTsSCjZYtf/cxoYJSzQouZJ2XwIzRT00Z+G6AL4NDf7cpNbpQAgRAz je41IxlvdoqO2NdAqX+S6OssW0bmjnignCeqYOQ9xlTX6/JeQXVv8YJ2XnM6lJfPZZNB Mt9A== X-Gm-Message-State: AOAM531Wj7q9skinX/jCpDiOQZ64oraq4bX2KoT6F88WU/ood1gJkyUt OE7rlbNDjuRu4KYGuPEjNXVkp7YaEnp6EO/q X-Google-Smtp-Source: ABdhPJw1hNhHJEYPVCtb0Mfp9nRvKeRN2RZqe6ac0cCZbDaaqcrqJdJ2CZt913/DiUXC6KsaO8ePpA== X-Received: by 2002:a67:e010:: with SMTP id c16mr8955066vsl.12.1640850046698; Wed, 29 Dec 2021 23:40:46 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id 126sm4601941vku.25.2021.12.29.23.40.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:40:46 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:38:40 -0500 Message-Id: <20211230073919.30327-3-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230073919.30327-1-philip@philipmcgrath.com> References: <082a81964a43ae5f735ad2ca433d0dfe00859c35.camel@gmail.com> <20211230073919.30327-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640850089; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=OR+Y4twRr3s8Rn/RIH2mP3iVUWWT56VgTF28n5YcXZs=; b=BpGd+5Z8EoZjK6e5DFkbXhyTlaFAFQGd9g5mxKHSDrPQfV9QOjwjmSLnBZfrF+LYgzF6b/ dFJ4cqzknidCdxbJpVdkoRwaW5fXkNhWX0kpHT44+pVpnxkm5hW18e1bkriHV8kXVs4nbJ hst2d8gu59Ev6g7Ou74RgH+ukVHKeuGwtI4Nsj/4/8/BFX+vin2m1bJWHZy+K+EfCBD4X2 SPEGzh+fnpdHWqsZTYYvop/XSo3z9wkaA8wcqD3y52NXjP9h/V+EhEsOaZr6AVpt2AjX9z OtikpBnUaSY5WCbX1kgVhPvvUDy/7uxOOuujn6Zhies9QHHu+D9KPwa0amybFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640850089; a=rsa-sha256; cv=none; b=jiB3XxUXbdTqyPnE8pKd/0YjbQDMl2hjFhOI11PsYi45lBJ+sLD/nS1BahAyFT35t2F5pp kXL1OJBND7EvkI0/Cm3f3AcO5oNnFsOzEp4xxZAQNMcYcmhr+7+kK2g3boJjSmnB2M6vd1 8Gb8NxWPRyZbk28KF3mmmKrjs1e1Mofqu7+UIuxdjqr1hh2VnW3yY6qOZBjZ4Mfo1K1lna c855b2xUz1BYfTOVEWJcLY+6dmIosS5yi4v00Zwd6WNzlOHYrfiVDF0fb82To5CR1kOmHq dqfsyQ9BaCjLwONfXoKq6bXUmOyaenjnyxr0bG0CJvoo/t/pL9oBpFsqcgPm/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=FNtlZIpg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=FNtlZIpg; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1B1151798E X-Spam-Score: -1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: NRZBT0h6kGDs * guix/build-system/node.scm (lower): Add the version of libuv used as an input to the #:node package as an additional implicit input, so that packages needing libuv always get the correct version. --- guix/build-system/node.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/guix/build-system/node.scm b/guix/build-system/node.scm index 735f8dd06e..24bd677bfc 100644 --- a/guix/build-system/node.scm +++ b/guix/build-system/node.scm @@ -2,6 +2,8 @@ ;;; Copyright © 2016 Jelle Licht ;;; Copyright © 2019 Timothy Sample ;;; Copyright © 2021 Ludovic Courtès +;;; Copyright © 2021 Pierre Langlois +;;; Copyright © 2021 Philip McGrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -61,10 +63,15 @@ (define private-keywords `(("source" ,source)) '()) ,@inputs - ;; Keep the standard inputs of 'gnu-build-system'. ,@(standard-packages))) (build-inputs `(("node" ,node) + ;; Many packages with native addons need + ;; libuv headers. The libuv version must + ;; be exactly the same as for the node + ;; package we are adding implicitly, + ;; so we take care of adding libuv, too. + ("libuv" ,@(assoc-ref (package-inputs node) "libuv")) ,@native-inputs)) (outputs outputs) (build node-build) -- 2.32.0