| 15 Jan 2025 |
Winter | those setup hooks do not run when in a devshell | 03:13:37 |
@rosssmyth:matrix.org | 😔 | 03:26:03 |
@rosssmyth:matrix.org | It does download them somewhere to my store. It's just not setup so that pnpm can see the dependencies | 03:26:40 |
Winter | you can set that up with a shell hook | 03:39:57 |
@rosssmyth:matrix.org | good idea | 03:41:34 |
@rosssmyth:matrix.org | That does work | 03:41:43 |
| SomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge (utc+3) to SomeoneSerge. | 19:02:28 |
| 16 Jan 2025 |
| Hannes joined the room. | 01:28:40 |
Hannes | 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 |
emily | latter | 02:16:10 |
Hannes | Thanks, I'm glad because I tried the first method and it wasn't working 😅 | 02:16:47 |
Hannes | 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 |
Hannes | Here's the PR for the package if anyone has suggestions :) https://github.com/NixOS/nixpkgs/pull/374206 | 04:26:42 |