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 QFvpFmqBJWQgzgAASxT56A (envelope-from ) for ; Thu, 30 Mar 2023 14:32:42 +0200 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 ULf7FWqBJWSGfgEAG6o9tA (envelope-from ) for ; Thu, 30 Mar 2023 14:32:42 +0200 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 297AD2B2FB for ; Thu, 30 Mar 2023 14:32:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phrRm-0000un-Qe; Thu, 30 Mar 2023 08:32:07 -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 1phrRj-0000tf-4K for guix-patches@gnu.org; Thu, 30 Mar 2023 08:32:03 -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 1phrRi-0001kY-T4 for guix-patches@gnu.org; Thu, 30 Mar 2023 08:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phrRi-0002v5-Is for guix-patches@gnu.org; Thu, 30 Mar 2023 08:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#59188] [PATCH v6 01/19] 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: Thu, 30 Mar 2023 12:32: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.168017951811155 (code B ref 59188); Thu, 30 Mar 2023 12:32:02 +0000 Received: (at 59188) by debbugs.gnu.org; 30 Mar 2023 12:31:58 +0000 Received: from localhost ([127.0.0.1]:55995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phrRe-0002tk-75 for submit@debbugs.gnu.org; Thu, 30 Mar 2023 08:31:58 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:35436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phrRb-0002tG-Ag for 59188@debbugs.gnu.org; Thu, 30 Mar 2023 08:31:56 -0400 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1680179514; 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=Sw7Z5xQpXrd1rYJNmSHPOllmLHbOEaL7UQ3zv+wowd2/7XXcNT2u9W7G/9ieHi2vqVj43o 0PFXQruDK2YGS3THXO0Lx832c4Trxuq/SuX1WQA13B1GXHnd2kV01nDweqAdrQnWpDt1bU w1aCL5/wPv6oM2r5pi4Gd4J/IePjjeU= Date: Thu, 30 Mar 2023 14:31:32 +0200 Message-Id: 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=Sw7Z5xQp; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680179562; 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=BqKy8zOVCEIWZzMig/WEjmjdNcFFn5e/veRqT/j5PJAFZx/WOJ6LzPGPpcx88yDp0/TM+E EsC06FjIb/MOdlf5WLSQVMpLr8eil5gHm1C9OCCbipdFBBksVNQSSqwc8kR0smlFerVfjH J8J0pXWbq8boOMGZIJmXY16IAtX6Hhcs+QWK2OEkDbRuMUeWIyFmpU78dcYIS/9iLyRqUH TN8RWS/jZPEGYC9pccbcE87GoY3FTaA22Y093Jpsxa/bfUVjnXXqMnRc8F5CBXWYMVNb8z t/63r9HK3xRIFuQohwc3niPaN7jLD/NUPaTqybju1ItI6yodiNfA9sZC3juE7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680179562; a=rsa-sha256; cv=none; b=RIMU6NPS5npIv7WEzekglv7KuHq9TohAPDQV0tf6dtAn4eg+BcGtSEUfG4tLCGmSYqavtE 7Kxq5saVVHK3VnUXzSQI4wNH8vtVurkCABmABI0zEP/1jaE5WSwELM9B68PvdDFyxWIbib /W/V85zrSzoOQ/AEDPwvcaHpRQdZJAiLerOlGURB68crbhcoxh3Vh45NwdpySlgP/3tJ44 DIbUJm96SJ5zY1I1S2HJBcP29UdCMqWaVSeg5CEogtVTn49nPrw82SpIdkLyA+XZVGruu3 4QV96Daf2X6L2qX050PrJSQ7COX46hH7vsJqFlMnZr1snrFpPOs+N33co4CDoA== X-Migadu-Spam-Score: 7.28 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Queue-Id: 297AD2B2FB Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fsfe.org header.s=2021100501 header.b=Sw7Z5xQp; 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-Spam-Score: 7.28 X-TUID: 4EKd1KbMb9Ze 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