unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ryan Prior <ryanprior@hey.com>
To: Development of GNU Guix and the GNU System distribution
	<guix-devel@gnu.org>, Jelle Licht <jlicht@fsfe.org>
Subject: Re: npm global prefix needs to be a writeable directory
Date: Thu, 26 Nov 2020 07:16:10 +0000	[thread overview]
Message-ID: <9fb5171919bbe26738b4561e579f6c9f6a23cde4@hey.com> (raw)
In-Reply-To: <86im9sd3r9.fsf@fsfe.org>

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

On November 26, 2020, Jelle Licht <jlicht@fsfe.org> 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 :)

[-- Attachment #2: Type: text/html, Size: 3184 bytes --]

  reply	other threads:[~2020-11-26  7:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 23:28 npm global prefix needs to be a writeable directory Ryan Prior
2020-11-26  6:35 ` Jelle Licht
2020-11-26  7:16   ` Ryan Prior [this message]
2020-11-26  8:28     ` Jelle Licht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9fb5171919bbe26738b4561e579f6c9f6a23cde4@hey.com \
    --to=ryanprior@hey.com \
    --cc=guix-devel@gnu.org \
    --cc=jlicht@fsfe.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).