!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

190 Members
56 Servers

Load older messages


SenderMessageTime
1 Dec 2025
@emma:rory.gayEmma [it/its] * it should be, doing an npm i --save in the dir doesnt change it, but deleting the lock file and trying agai ndoes 23:01:49
@emma:rory.gayEmma [it/its]tl;dr a package override23:02:06
@emma:rory.gayEmma [it/its] using a patches= to replace the lockfile with a cleanly regenerated one amde no change 23:06:47
@emma:rory.gayEmma [it/its] * using a patches= to replace the lockfile with a cleanly regenerated one made no change 23:07:02
@emma:rory.gayEmma [it/its] ( Cobalt here's your answer ^) 23:10:48
@c0ba1t:matrix.orgCobalt Sorry to hear that. Thank you for trying though. I haven't encountered errors with overrides yet unfortunately 23:24:56
@emma:rory.gayEmma [it/its]removing the override and patching the sr made it work23:30:00
@emma:rory.gayEmma [it/its]

https://cgit.rory.gay/nix/OOYE-module.git/tree/default.nix

dont think im doing anything too weird here, but without the patch i couldn't get it to build :)

23:30:54
3 Dec 2025
@emma:rory.gayEmma [it/its]hm, there's no buildNpmPackage at that can emit a drv that's independant of architecture, is there?17:34:12
@emma:rory.gayEmma [it/its]* hm, there's no buildNpmPackage that can emit a drv that's independant of architecture, is there?17:35:12
@pyrox:pyrox.devdish [Fox/It/She]afaik nix doesnt support that but i could be wrong in any case, no iirc17:58:39
@tomodachi94:matrix.orgTomodachi94 (they/them)Yeah, ultimately the derivations have inputs that are platform-dependent like NodeJS and stdenv, which means different hashes for them19:23:55
@pyrox:pyrox.devdish [Fox/It/She]also buildNpmPackage prunes to packages for current platform only20:40:02
@pyrox:pyrox.devdish [Fox/It/She]and anything using node-gyp only gets built for host arch/os iirc20:40:27
5 Dec 2025
@hsjobeki:matrix.orghsjobeki joined the room.18:10:06
@hsjobeki:matrix.orghsjobeki(crossposting from the nixpkgs room) Hi, @amopel built a dependency fetcher for Deno. For those who don't know it: https://docs.deno.com/runtime/ (An evolution of node) The PR is quite big, and I would be happy to find a person, who can help with the review process. I tried to mentor the author in the PR already, but i think a second pair of eyes is required before we can merge it. https://github.com/NixOS/nixpkgs/pull/45390418:10:34
@pyrox:pyrox.devdish [Fox/It/She]wow, that is a very complex PR18:58:28
@pyrox:pyrox.devdish [Fox/It/She]which is my main concern with it, to be clear. There is both typescript and rust components, and the commits are not very well-organized(imo)19:07:16
@hsjobeki:matrix.orghsjobekiHe mentioned he would squash the commits afterwards19:14:41
@pyrox:pyrox.devdish [Fox/It/She]still though, the overall code complexity is high, no?19:15:41
@hsjobeki:matrix.orghsjobekiCompexity is high, but also a good portion of the code are tests. 19:16:01
@hsjobeki:matrix.orghsjobekiComplexity is high, because deno doesnt have a repro-lockfile. It is 'security' focused. With 3 different registry types supported. 19:17:10
@hsjobeki:matrix.orghsjobeki* Complexity is high, because deno doesnt have a repro-focused-lockfile. It is 'security' focused. With 3 different registry types supported. 19:18:28
@hsjobeki:matrix.orghsjobekiThe readme (1k lines) gives a good overview how deno locks its dependencies 19:21:47
@hsjobeki:matrix.orghsjobeki* The readme (900 lines) gives a good overview how deno locks its dependencies 19:22:15
6 Dec 2025
@pyrox:pyrox.devdish [Fox/It/She]anyone opposed to me dropping every purescript-related package from nodePackages?(pscid, pulp, purescript-language-server, purescript-psa, and purs-tidy)18:34:12
@pyrox:pyrox.devdish [Fox/It/She] @Tomodachi94 (they/them) 18:34:14
@pyrox:pyrox.devdish [Fox/It/She]only reason to keep them is to build other purescript packages but that should rely on real tooling for purescript and not node2nix18:34:37
@pyrox:pyrox.devdish [Fox/It/She]* only reason to keep them is to build other purescript packages but that should rely on real tooling for purescript(doesn't currently exist tbf) and not node2nix18:35:52
7 Dec 2025
@pyrox:pyrox.devdish [Fox/It/She]gonna open a PR for this at least06:05:21

There are no newer messages yet.


Back to Room ListRoom Version: 6