!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

198 Members
58 Servers

Load older messages


SenderMessageTime
17 Dec 2025
@emma:rory.gayEmma [it/its]ended up looking back into this, and yeah i figured out what makes it tick03:31:13
@emma:rory.gayEmma [it/its]
npmDeps = pkgs.importNpmLock { npmRoot = ./.; };
npmConfigHook = pkgs.importNpmLock.npmConfigHook;

instead of setting an npmDepsHash (yay, i can drop that file and its scripts now!)

03:32:21
@emma:rory.gayEmma [it/its]and it does massively cut down on build time for rebuilds (notably with a lot of packages on a slower connection)03:34:12
18 Dec 2025
@antifuchs:asf.computerantifuchs joined the room.03:58:29
@antifuchs:asf.computerantifuchs I'm not familiar with pnpm or the nix tooling but I find myself needing to build a thing that uses pnpm (v10) in nix... is there something like importNpmLock or prefetch-yarn-deps for the pnpm ecosystem, or do I have to do the old "set hash to "", rebuild, copy&paste the hash" dance? 04:00:02
@antifuchs:asf.computerantifuchs * I'm not familiar with pnpm or the nix tooling for it but I find myself needing to build a thing that uses pnpm (v10) in nix... is there something like importNpmLock or prefetch-yarn-deps for the pnpm ecosystem, or do I have to do the old "set hash to "", rebuild, copy&paste the hash" dance? 04:00:39
@antifuchs:asf.computerantifuchs * I'm not familiar with pnpm or the nix tooling for it but I find myself needing to build a thing that uses pnpm (v10) in nix... is there something like importNpmLock or prefetch-yarn-deps for the pnpm ecosystem, or do I have to do the old "set hash to "", rebuild, copy&paste the hash" dance? (nixpkgs javascript docs seem to suggest it's only the latter?) 04:01:01
@emma:rory.gayEmma [it/its]i didnt even know about alternatives up until yesterday so... check the build-support folder in nixpkgs i would say?04:25:48
@antifuchs:asf.computerantifuchsYeah, couldn’t find anything in there. Thanks for checking (:04:43:43
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @antifuchs:asf.computer
I'm not familiar with pnpm or the nix tooling for it but I find myself needing to build a thing that uses pnpm (v10) in nix... is there something like importNpmLock or prefetch-yarn-deps for the pnpm ecosystem, or do I have to do the old "set hash to "", rebuild, copy&paste the hash" dance? (nixpkgs javascript docs seem to suggest it's only the latter?)
set hash etc
05:01:53
@antifuchs:asf.computerantifuchsThank you /:13:20:45
5 Dec 2022
@grahamc:nixos.org@grahamc:nixos.org changed the history visibility to "world_readable" from "shared".14:44:17
@hexa:lossy.networkhexaThanks14:44:25
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Thanks
it doesn't look like he read the message, are you sure it wasn't just your server syncing the history :P
14:45:19
@hexa:lossy.networkhexa?14:45:48
@aktaboot:tchncs.deaktaboot

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:07
@grahamc:nixos.org@grahamc:nixos.orgonly future history14:46:16
@aktaboot:tchncs.deaktaboot *

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:21
@hexa:lossy.networkhexaYeah doesnt work into the past14:46:34
@hexa:lossy.networkhexaIMG_20221205_154711.jpg
Download IMG_20221205_154711.jpg
14:47:23
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Yeah doesnt work into the past
ah. by default you mean?
14:47:55
@aktaboot:tchncs.deaktaboothuh, I don't see dash's messages 🤔14:49:55
@washort:greyface.orgdashOh no15:11:34
@washort:greyface.orgdashDid you scroll all the way back to April? 😉15:12:27
9 Dec 2022
@winterqt:nixos.devWinter (she/her) @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
@raphi:tapesoftware.netraphi joined the room.19:01:16
14 Dec 2022
@jeroen:simonetti.nlJeroen Simonetti joined the room.17:42:51
@jeroen:simonetti.nlJeroen Simonetti

Hello,
I am trying to package github.com/zwave-js/zwave-js-ui but am getting an error during build phase of which I don;t realy know what to make of it. Mind you, I am a total nodejs novice, so this is probably due to pebkac. I would appreciate some help.
The error I am having is:

@nix { "action": "setPhase", "phase": "buildPhase" }
building
SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
    at Parser.unexpected (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
    at Parser.parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
    at parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
    at module.exports.exports.default (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.j>
    at prefetchYarnDeps (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:129:28)
    at main (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:183:9)
17:45:27
@adam:valkor.netadamcstephens joined the room.18:18:09
@winterqt:nixos.devWinter (she/her) Jeroen Simonetti: This uses Yarn "berry," which we don't support at this time. 18:22:37

Show newer messages


Back to Room ListRoom Version: 6