[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How should I be running `npm install …`?
From: |
Dmitry Alexandrov |
Subject: |
Re: How should I be running `npm install …`? |
Date: |
Wed, 17 Jun 2020 00:06:51 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Gary Johnson <lambdatronic@disroot.org> wrote:
> Dmitry Alexandrov <321942@gmail.com> writes:
>> So? /usr/ in traditional GNU distributions might be read-only as well, but
>> it does not impede npm(1) or pip(1) or whatever install things system-wide
>> (given that operator utilize his superuser powers, of course), as there are
>> plenty other hierarchies available.
>>
>> Why is npm in Guix built with default ‘prefix’¹ (means, for --global
>> actions) set to package directory under /gnu/store/ instead of, say,
>> /usr/local?
>
> In Guix, all system-level packages and configuration files are created by the
> package manager under /gnu/store. The /usr directory is empty on a Guix
> system.
Yes, and thatʼs exactly why I am asking: why npm(1) is preconfigured to attempt
to install its packages into the hierarchy, which should be monopolistically
managed by guix(1), while there are no shortage of free prefixes?
Is that merely a bug?
signature.asc
Description: PGP signature