guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: npm global prefix needs to be a writeable directory


From: Jelle Licht
Subject: Re: npm global prefix needs to be a writeable directory
Date: Thu, 26 Nov 2020 09:28:57 +0100

Ryan Prior <ryanprior@hey.com> writes:

> 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.
>
>> 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.

As long as we don't change existing behaviour by ignoring custom global
prefixes explicitly requested by the user, this seems fine to me.

Do other language-specific package managers packaged in guix not run
into similar issues?

- Jelle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]