Nix NodeJS | 206 Members | |
| 58 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Mar 2026 | ||
| * I am currently working on importPnpmLock to support package builds without having a pnpmDeps FOD: https://tangled.org/scrumplex.net/importPnpmLock.nix This is mostly useful for projects that use dependabot or renovate where keeping pnpmDeps up-to-date is cumbersome. It is very bare bones, but should support everything pnpm has to offer due to its fundamental design: Instead of trying to be smart about it, we just use the existing mitmcache infrastructure from nixpkgs. Luckily, the pnpm lock file contains everything* we need and the only issue is that it's a YAML file, leading to IFD in my implementation. While a pnpm2nix-style script would have avoided IFD, it would have the same issues as the status quo (updating hashes). *: Git as well as tarball dependencies are not locked with the exact tarball hash. Those have to be specified manually, similar to how importCargoLock does it. | 20:58:21 | |
| Nice! I was looking into making an IFD pnpm lockfile import | 23:52:30 | |
| 10 Mar 2026 | ||
| 01:46:22 | ||
| 11 Mar 2026 | ||
| 01:48:34 | ||
Hello! I'm trying out packaging out-of-your-element and I'm trying to figure out how to use buildNpmPackage to do so. It seems like doing that doesn't result in me being able to call the various scripts available via npm run <subcommand>, which is the primary way to interact with it. Is there a way to do that with buildNpmPackage? | 01:50:35 | |
| none of the scripts looks like a build script | 02:00:15 | |
that's correct, there's no "build", it's just a collection of scripts meant to be run with npm run | 02:01:08 | |
The flow I'm looking for here more or less is to be able to do a nix run .#ooye-setup to call the npm run setup command, use it interactively to produce a file, then use requireFile to provide it to another derivation that will call npm run start | 02:01:28 | |
| I don't know if that will be feasible | 02:01:54 | |
| I think I figured it out for my case | 02:58:27 | |
I ended up needing to make my own installPhase that copied over the project to the $out and used makeWrapper to make scripts that call node to run the relevant scripts. | 02:59:00 | |
Like this | 02:59:36 | |
| 06:27:08 | ||
| 5 Dec 2022 | ||
| 14:44:17 | ||
| Thanks | 14:44:25 | |
In reply to @hexa:lossy.networkit doesn't look like he read the message, are you sure it wasn't just your server syncing the history :P | 14:45:19 | |
| ? | 14:45:48 | |
| 14:46:07 | |
| only future history | 14:46:16 | |
*
| 14:46:21 | |
| Yeah doesnt work into the past | 14:46:34 | |
Download IMG_20221205_154711.jpg | 14:47:23 | |
In reply to @hexa:lossy.networkah. by default you mean? | 14:47:55 | |
| huh, I don't see dash's messages 🤔 | 14:49:55 | |
| Oh no | 15:11:34 | |
| Did you scroll all the way back to April? 😉 | 15:12:27 | |
| 9 Dec 2022 | ||
| @aktaboot, I can't repro your issue, FWIW. The only thing that was being thrown was that Python was missing, right? | 03:04:29 | |
| 13 Dec 2022 | ||
| 19:01:16 | ||
| 14 Dec 2022 | ||
| 17:42:51 | ||
| Hello,
| 17:45:27 | |