!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

203 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Jan 2025
@winter:catgirl.cloudWinterthose setup hooks do not run when in a devshell03:13:37
@rosssmyth:matrix.org@rosssmyth:matrix.org😔03:26:03
@rosssmyth:matrix.org@rosssmyth:matrix.orgIt does download them somewhere to my store. It's just not setup so that pnpm can see the dependencies 03:26:40
@winter:catgirl.cloudWinteryou can set that up with a shell hook03:39:57
@rosssmyth:matrix.org@rosssmyth:matrix.orggood idea 03:41:34
@rosssmyth:matrix.org@rosssmyth:matrix.orgThat does work03:41:43
@ss:someonex.netSomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge (utc+3) to SomeoneSerge.19:02:28
16 Jan 2025
@hasnep:matrix.orgHannes joined the room.01:28:40
@hasnep:matrix.orgHannes Hi, can someone tell what is the preferred way of packaging a Node.js CLI in nixpkgs? Should I add it to pkgs/development/node-packages/node-packages.json or use buildNpmPackage? 02:14:21
@emilazy:matrix.orgemilylatter02:16:10
@hasnep:matrix.orgHannesThanks, I'm glad because I tried the first method and it wasn't working 😅02:16:47
@hasnep:matrix.orgHannes Okay, followup question, the package I'm building has an npm run build script, but it's just defined as npm run lint && npm run test, should I set dontNpmBuild = true so that nix doesn't lint and test the package every time it builds? 02:39:45
@hasnep:matrix.orgHannesHere's the PR for the package if anyone has suggestions :) https://github.com/NixOS/nixpkgs/pull/37420604:26:42

Show newer messages


Back to Room ListRoom Version: 6