From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8EWKIVxWv18YcQAA0tVLHw (envelope-from ) for ; Thu, 26 Nov 2020 07:16:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WOY/HVxWv18eaQAAbx9fmQ (envelope-from ) for ; Thu, 26 Nov 2020 07:16:44 +0000 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 2EB9D9404C8 for ; Thu, 26 Nov 2020 07:16:44 +0000 (UTC) Received: from localhost ([::1]:52876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiBWF-0002r6-2o for larch@yhetil.org; Thu, 26 Nov 2020 02:16:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiBVl-0002qo-Ty for guix-devel@gnu.org; Thu, 26 Nov 2020 02:16:13 -0500 Received: from 102a.relay.hey.com ([204.62.115.199]:51775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiBVj-0002DJ-Vl for guix-devel@gnu.org; Thu, 26 Nov 2020 02:16:13 -0500 Received: from hey.com (bigip-vip-new.rw-ash-int.37signals.com [10.20.0.24]) by 102.relay.hey.com (Postfix) with ESMTP id 0990A81EEC; Thu, 26 Nov 2020 07:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hey.com; s=heymail; t=1606374971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=E0SIb3o+Ezh8IStT6I+g2DQ1VBQ98dCAqN+ZQzjzxhg=; b=tE9oZ93TEna3GQ80KX3xs4iXMoZEjpceW8LbFHPh+nzHvylHDoJPNDfGGHf1WAQJ/7vG2p IDzhwplLK2Q6s60V1tbDbPssnqrDBZM55v14tGM7SP8RMHt7hmTiXIp1cxFcFGmprieK74 XaNoLQkCliPMYHS4ZDCfE8RkAYDGRbSGdWLZ6vQooGHcTp+3n5hYG66ojer4jjRBOk/EO3 d/7Jd0mU0ZIJcnw6uKwQF48UVZ3H/Na2TKVBlWX0IvJY/IwOq9VhvQ6qOU+mjpIvKGXMnh x3zA31TrzGP3WDGI1Lh6CW8yVsxwZ6dFhdUCZz3kPoMElPFWzNtZIA4jmCVjPw== Date: Thu, 26 Nov 2020 07:16:10 +0000 From: Ryan Prior To: Development of GNU Guix and the GNU System distribution , Jelle Licht Message-ID: <9fb5171919bbe26738b4561e579f6c9f6a23cde4@hey.com> In-Reply-To: <86im9sd3r9.fsf@fsfe.org> Subject: Re: npm global prefix needs to be a writeable directory Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5fbf563aef414_63172dc846089"; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=204.62.115.199; envelope-from=ryanprior@hey.com; helo=102a.relay.hey.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: inc X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=hey.com header.s=heymail header.b=tE9oZ93T; dmarc=pass (policy=quarantine) header.from=hey.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: a/rgHkW+P6AQ ----==_mimepart_5fbf563aef414_63172dc846089 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On November 26, 2020, Jelle Licht wrote: > On other distros it defaults to a location that is not writable by > normal users either; Indeed I can confirm that Ubuntu node also has this problem. > Node doesn't do this on other distros either, correct? > [snip] > Another way folks solved this problem has been using "nvm" which in > practice boiled down to [setting a > custom global prefix, just managed by nvm now]. I think Guix should work more like nvm than like other distros in this case. If this is something we could handle automatically per-profile, then that gives us the opportunity to do the right thing and save the user some hassle. If we decide not to go that route, I agree that we're doing no worse than other distros that package Node. But I'm rarely satisfied with the status quo :) ----==_mimepart_5fbf563aef414_63172dc846089 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On November 26, 2020, Jelle Licht <jlicht@fsfe.org> wrote:
On other distros it defaults to a location that is not wr= itable by
normal users either;

Indeed I can confi= rm that Ubuntu node also has this problem.

Node = doesn't do this on other distros either, correct?
[snip]
Another wa= y folks solved this problem has been using "nvm" which in
pr= actice boiled down to [setting a
custom global prefix, just managed by= nvm now].

I think Guix should work more like nvm th= an like other distros in this case. If this is something we could handle = automatically per-profile, then that gives us the opportunity to do the r= ight thing and save the user some hassle.

If we decide not to go t= hat route, I agree that we're doing no worse than other distros that pack= age Node. But I'm rarely satisfied with the status quo :)
----==_mimepart_5fbf563aef414_63172dc846089--