!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

194 Members
56 Servers

Load older messages


SenderMessageTime
20 Mar 2024
@robert:funklause.dedotlambdachanged room power levels.23:46:16
21 Mar 2024
@hexa:lossy.networkhexathanks!03:43:51
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:03:51
@grahamc:nixos.org@grahamc:nixos.org left the room.20:07:56
@kyle:iteratee.net@kyle:iteratee.net left the room.20:13:00
22 Mar 2024
@drsensor:matrix.org૮༼⚆︿⚆༽つ / wildan joined the room.03:54:24
@drsensor:matrix.org૮༼⚆︿⚆༽つ / wildan changed their display name from drsensor to wildan.04:03:34
@drsensor:matrix.org૮༼⚆︿⚆༽つ / wildan changed their display name from wildan to ૮༼⚆︿⚆༽つ / wildan.04:05:21
23 Mar 2024
@avocadoom:avocadoom.deavocadoomAnybody got some experience with getting either Cypress or Playwright to work under Nix? Since they both heavily rely on their binaries it is quite a pain to set up and I honestly would prefer an approach where I don't have to always match the npm and binary dependency which may be bundled in nix. Is there maybe a way to launch those binaries in an FHS env for example?00:00:12
@avocadoom:avocadoom.deavocadoom*NixOS00:03:55
29 Mar 2024
@larstvei:matrix.orglarstvei joined the room.11:55:14
30 Mar 2024
@wisw:im.skytel.eewiswDoes yarn2nix works with yarn v4?00:51:45
1 Apr 2024
@m1-s:matrix.org@m1-s:matrix.org left the room.13:59:42
3 Apr 2024
@amarshall:matrix.orgamarshall joined the room.17:58:30
13 Apr 2024
@tumble1999:matrix.orgTumble joined the room.13:23:42
@tumble1999:matrix.orgTumbleAh here it is13:23:55
@tumble1999:matrix.orgTumble This should hopefully be a channel i want
Im looking into using flake to develop with nodejs
13:25:00
@c0ba1t:matrix.orgCobaltWhat are you looking in particular? Packaging, development shell(s) or something else?13:26:31
@c0ba1t:matrix.orgCobalt* What are you looking for in particular? Packaging, development shell(s) or something else?13:26:40
@tumble1999:matrix.orgTumbleChanging my workflow to involve flakes?13:28:35
@lily:lily.flowersLily Foster
In reply to @tumble1999:matrix.org
Changing my workflow to involve flakes?
what are you wanting flakes to get you? using flakes just for using flakes won't automatically give you much
13:30:11
@tumble1999:matrix.orgTumble

packages are only installed when nececery
like if i used rust one day, cargo and rust up will be in my system
when i stop developing in rust for a but it will eventialy stop being installed on mys system
when i develop with js, node things would be installed,
when i take a break, they will eventialy stop being installed on my system

thats how i see it

also if i go on anouther system (that doesnt have nixos but does have nix), i wont have to install stuff just use the flake and everything will set its self up

13:41:51
@avocadoom:avocadoom.deavocadoomI guess you confuse flakes with shells. Shells are not coupled with flakes. You don't need to understand the concept of flakes to use shells13:43:37
@tumble1999:matrix.orgTumbleflakes let you get specific versions of things though dont they13:45:56
@avocadoom:avocadoom.deavocadoomSure you can pin nixpkgs, though you can also do this with standard nix derivations13:49:59
@tumble1999:matrix.orgTumblealso using a flake with my nixos config makes channels easier to manage13:51:03
@c0ba1t:matrix.orgCobaltUsing flakes for devshells is a good approach ime. For nodejs you don't need anything special in most projects. Just use a normal devshell inside a flake and use the relevant packages, like `nodejs`, as build inputs.13:55:50
@c0ba1t:matrix.orgCobaltThere are also some more elaborate setups possible, like setting a specific nodejs version for your nixpkgs instance used in the devshells.13:57:55
@tumble1999:matrix.orgTumble would it ever need to go in .packages/.app for doing stuff like nix run 13:59:03
@c0ba1t:matrix.orgCobalt`nix run` stuff is the `apps` output iirc.13:59:34

Show newer messages


Back to Room ListRoom Version: 6