[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: developing javascript with guix
From: |
Maxime Devos |
Subject: |
Re: developing javascript with guix |
Date: |
Sat, 30 Jul 2022 21:50:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 28-07-2022 01:15, Ryan Prior wrote:
Is there really a use case for shipping the source code of a JavaScript library
without the interpreter?
Yes -- see "guix build --source" (it's not JavaScript-specific).
If you meant the _compiled_ JavaScript library (result of "guix build
node-...") (even when it's maybe just copying source code around and
maybe minimisation), then also yes:
JavaScript isn't only used in node, but also on the web, in browsers.
While not all node-based libraries are usable on the web, I'd assume
some of them are. So it would be nice if "guix shell -D
the-web-server-app-thing" didn't install the node interpreter you didn't
ask for (functional package management) and don't need (resource savings).
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature