From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KJ3wIbsXEWTrUwEASxT56A (envelope-from ) for ; Wed, 15 Mar 2023 01:56:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mL4eIbsXEWTxkwAAG6o9tA (envelope-from ) for ; Wed, 15 Mar 2023 01:56:27 +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 523D023BDA for ; Wed, 15 Mar 2023 01:56:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcFQz-00080S-PR; Tue, 14 Mar 2023 20:56:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcFQw-0007zN-S9 for guix-patches@gnu.org; Tue, 14 Mar 2023 20:56:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcFQw-00073x-93 for guix-patches@gnu.org; Tue, 14 Mar 2023 20:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcFQw-00027R-4Q for guix-patches@gnu.org; Tue, 14 Mar 2023 20:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59188] [PATCH v5 01/17] build-system: node: Use `--install-links' with `npm install'. Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Mar 2023 00:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59188 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59188@debbugs.gnu.org Cc: Jelle Licht Received: via spool by 59188-submit@debbugs.gnu.org id=B59188.16788417397906 (code B ref 59188); Wed, 15 Mar 2023 00:56:02 +0000 Received: (at 59188) by debbugs.gnu.org; 15 Mar 2023 00:55:39 +0000 Received: from localhost ([127.0.0.1]:38732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcFQY-00023Q-QS for submit@debbugs.gnu.org; Tue, 14 Mar 2023 20:55:39 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:47010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcFQX-00022x-1u for 59188@debbugs.gnu.org; Tue, 14 Mar 2023 20:55:37 -0400 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1678841736; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GLDtsTz7X+TFPFvD2Hsfc8owQgRTbST7JrVxxBAXXSg=; b=AkTclcAX/wxGfBT9bkTOEWHcDS8mW2wfXEl7I9Mc8muhyh7eD93jWZfZ585ojSOipt3nSP OqQsYB5mJJ5Ou6SGHSQwdd6KMODmC+rldEgk755pEeV9HYszgH1gF40PNGoIABMxirO2Km eL4kszQxuKlpjD/bKg6jCqgI3f7eVWY= Date: Wed, 15 Mar 2023 01:55:16 +0100 Message-Id: <2dd7a048a9bedcd8f4f7550b7ad07556c3c65b74.1678841648.git.jlicht@fsfe.org> In-Reply-To: References: MIME-Version: 1.0 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=AkTclcAX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678841787; a=rsa-sha256; cv=none; b=T+ci0sZReNRBc5FH6ElPAe5ktiTZ2fv7/6wztXQ/an5ePIV5leRYebns7Wwqhf4TVQ02pq qrHARKnCvmi87pDGCeFRFYKwuwnvAyKJPOWDAuOPfSWW1+61X0bMytYziPHtAku6xzCrHa 46EgSi6nVMDv8jimitswVuCZhrT2jwI+lJE4dW7jMludl6JmMo/4r8WTNHB5Jcx42zX4Of UsjVXGeoSvmUc4w0eNJwWjtvVVeCakMZ0pOQd3g4B0a1dclrT6BM8U9R6yIDwsqtEGdL2j hyXgdMQdn+NWLRCdu2B0mJy2bbtCubAIaF6+AMouxEz2ZsAvjHriYJ2o96P0OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678841787; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=GLDtsTz7X+TFPFvD2Hsfc8owQgRTbST7JrVxxBAXXSg=; b=lG+L0SrkZtlQjAiafgvedUN8h88gigZtTNRKUxKOnpYKmcNK56DRnduIZtGwIFVTDc8dfr ttSx0LCyJsdJLKl157aUILzvgvenYWjgUmMqMh8rohbWjtlj1CM9HYdB2RGVy7HugXHGXF 97DzXYYMgf/x0XTiMtV3MW9ExMZne2D9+FymtAG/uaNxmSIGv1i8wiWDBALZhU+Y+0l/eL R3GqSVnX7PO+Pef8/Z6PhTzATtjXD6UMn87xr69N7pVfZzqSfPsj8EyxXkkgjHv1Omiv3K rX8MLpFtbK0ZCc/BoAyDGWgiwbXgxkMgyahl+t5pJOQcAHX52wpISHC9LeFFvA== X-Migadu-Spam-Score: -0.63 X-Spam-Score: -0.63 X-Migadu-Queue-Id: 523D023BDA X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=AkTclcAX; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fsfe.org (policy=none) X-TUID: 7H9BkiXLo/8Y From: Jelle Licht Later versions of npm need to explicitly install a copy of local dependencies, instead of only a symlink. * guix/build/node-build-system.scm (configure): Add `--install-links' to npm install invocation. (install): Ditto. --- (no changes since v1) guix/build/node-build-system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/build/node-build-system.scm b/guix/build/node-build-system.scm index bee3792e93..93f7efbb2b 100644 --- a/guix/build/node-build-system.scm +++ b/guix/build/node-build-system.scm @@ -223,7 +223,7 @@ (define* (delete-lockfiles #:key inputs #:allow-other-keys) (define* (configure #:key outputs inputs #:allow-other-keys) (let ((npm (string-append (assoc-ref inputs "node") "/bin/npm"))) - (invoke npm "--offline" "--ignore-scripts" "install") + (invoke npm "--offline" "--ignore-scripts" "--install-links" "install") #t)) (define* (build #:key inputs #:allow-other-keys) @@ -262,6 +262,7 @@ (define* (install #:key outputs inputs #:allow-other-keys) "--offline" "--loglevel" "info" "--production" + "--install-links" "install" "../package.tgz") #t)) -- 2.39.2