Re: developing javascript with guix

2022-08-03 Thread david larsson
On 2022-07-30 15:40, Luis Felipe wrote: Using the original design of Guix website, this information could be accessible from "Home page → Guix in Your Field → Software developement". Clicking on that button would take the user to a Software Development page, which would link to language

Re: developing javascript with guix

2022-08-03 Thread Giovanni Biscuolo
Hi Ryan, Ryan Prior writes: [...] > Meanwhile, in the Guix docs, everything is abstract. Speaking of the Guix Manual, abstraction is The Good Thing to do, IMHO :-) [...] > I think we can make a much better experience for users from the > various language library commons if we build

Re: developing javascript with guix

2022-07-30 Thread Maxime Devos
TL;DR: I disagree with many of the claims, I agree that some documentation using specific examples is useful, I disagree that this isn't what we are already doing in the Guix manual, I agree that we don't have per-language landing pages yet and that they could be a convenient starting point, I

Re: developing javascript with guix

2022-07-30 Thread Maxime Devos
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-...")

Re: developing javascript with guix

2022-07-30 Thread Maxime Devos
On 28-07-2022 01:15, Ryan Prior wrote: Why isn't node a dependency for node-mersenne though? It is. node-mersenne uses node-build-system, which has node (or node-lts, dunno) in its implicit inputs. Did you mean: 'Why isn't node propagated?' For the same reasons as why any plugins don't

Re: developing javascript with guix

2022-07-30 Thread Maxime Devos
On 28-07-2022 01:15, Ryan Prior wrote: At a minimum, can we make `guix shell` warn on stderr if you create a shell with one or more libraries but no interpreter? I suppose, but this isn't `guix shell` specific really, it hold for all users of profiles (including "guix environment", "guix

Re: developing javascript with guix

2022-07-30 Thread Maxime Devos
On 28-07-2022 00:25, jgart wrote: How are users supposed to know to run node and node-mersenne?: They know that, because that was the premise of what they were trying to do: You wrote: "how does a js developer use `guix shell` to load a js line like node-rimraf in a repl currently`: In

Re: developing javascript with guix

2022-07-30 Thread bokr
On +2022-07-30 13:40:46 +, Luis Felipe wrote: > Hello, > > > On Wednesday, July 27th, 2022 at 23:15, Ryan Prior > wrote: > > > On Wednesday, July 27th, 2022 at 10:25 PM, jgart jg...@dismail.de wrote: > > > > > > On Wed, 27 Jul 2022 11:33:43 +0200 Maxime Devos maximede...@telenet.be > >

Re: developing javascript with guix

2022-07-30 Thread Luis Felipe
Hello, On Wednesday, July 27th, 2022 at 23:15, Ryan Prior wrote: > On Wednesday, July 27th, 2022 at 10:25 PM, jgart jg...@dismail.de wrote: > > > On Wed, 27 Jul 2022 11:33:43 +0200 Maxime Devos maximede...@telenet.be > > wrote: > > > > Hi Maxime, > > > > Hope all is well. > > > > >

Re: developing javascript with guix

2022-07-27 Thread Ryan Prior
On Wednesday, July 27th, 2022 at 10:25 PM, jgart wrote: > > > On Wed, 27 Jul 2022 11:33:43 +0200 Maxime Devos maximede...@telenet.be wrote: > > > Hi Maxime, > > Hope all is well. > > > Let's try not doing anything special: > > > Thanks for the repl example and for trying out a Guix developer js

Re: developing javascript with guix

2022-07-27 Thread jgart
On Wed, 27 Jul 2022 11:33:43 +0200 Maxime Devos wrote: Hi Maxime, Hope all is well. > Let's try not doing anything special: Thanks for the repl example and for trying out a Guix developer js workflow for me. Do you happen to know if the same approach works for erlang? I think we should have

Re: developing javascript with guix

2022-07-27 Thread Maxime Devos
On 27-07-2022 02:25, jgart wrote: Should we make a guide for developing with js and guix? For example, how does a js developer use `guix shell` to load a js lib like node-rimraf in a repl currently? This one is not in Guix, so I'll replace it by node-mersenne. There's currently no doc for

developing javascript with guix

2022-07-26 Thread jgart
Should we make a guide for developing with js and guix? For example, how does a js developer use `guix shell` to load a js lib like node-rimraf in a repl currently? There's currently no doc for getting started with that iirc