!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

208 Members
59 Servers

Load older messages


SenderMessageTime
31 Oct 2023
@c0ba1t:matrix.orgCobalt* In reply to @lily:lily.flowers i mean i could hit merge myself, but i have too much anxiety to self-merge That's understandable, no pressure. Iirc nixpkgs guidelines also discouraged self-merged MRs12:28:39
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
now that is a whole conversation where i tried to fix the ci to avoid that occuring to anyone else and got told we can't have nice things
(i'm oversimplifying and misrepresenting slightly here, but that is the gist of it)
12:28:43
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org

In reply to @lily:lily.flowers
i mean i could hit merge myself, but i have too much anxiety to self-merge

That's understandable, no pressure. Iirc nixpkgs guidelines also discouraged self-merged MRs

i mean if it has approvals it's not really frowned upon, but i still just have too much anxiety after last time 😅
12:34:52
@joepie91:pixie.town@joepie91:pixie.town joined the room.19:34:05
* @joepie91:pixie.town@joepie91:pixie.town beeps19:35:38
@lily:lily.flowersLily Foster
In reply to @joepie91:pixie.town
beeps
meow
19:37:38
@joepie91:pixie.town@joepie91:pixie.town Lily Foster: I will probably forget to pay attention to this channel, so if there's a question that you need my input on, pinging me will generally work best :p 19:38:18
@lily:lily.flowersLily Foster
In reply to @joepie91:pixie.town
Lily Foster: I will probably forget to pay attention to this channel, so if there's a question that you need my input on, pinging me will generally work best :p
will do, thank you so much! ❤️
19:38:48
@joepie91:pixie.town@joepie91:pixie.townnp :)19:39:02
@whentze:matrix.orgWanja Hentze joined the room.19:39:47
@whentze:matrix.orgWanja Hentze joepie91 🏳️‍🌈: so which of the ~dozen or so npm/nix things should I use 19:40:52
@whentze:matrix.orgWanja Hentze

so far I've tried

  • node2nix
  • buildNpmPackage (from nixpkgs)
  • buildNpmPackage (from serokell)
  • old v1-only npmlock2nix
  • newer npmlock2nix
  • floco
  • napalm
  • dream2nix
19:42:10
@lily:lily.flowersLily Fosterwhat do you mean from serokell.... do they have their own?19:42:37
@whentze:matrix.orgWanja Hentzeyes19:43:13
@whentze:matrix.orgWanja Hentzejust accidentally named the same, no relation from what I can tell19:43:28
@lily:lily.flowersLily Foster
In reply to @whentze:matrix.org
just accidentally named the same, no relation from what I can tell
ah interesting. i missed that then
19:43:43
@whentze:matrix.orgWanja Hentzehttps://github.com/serokell/nix-npm-buildpackage19:43:52
@marie:marie.cologneMarie
In reply to @whentze:matrix.org
joepie91 🏳️‍🌈: so which of the ~dozen or so npm/nix things should I use
i had the best experience with buildNpmPackage (nixpkgs) so far, but didn't try all of the things you said
19:45:34
@lily:lily.flowersLily Fosteri'm biased, so i won't answer...19:45:53
@whentze:matrix.orgWanja Hentzewe also have a private fork of oldschool npmlock2nix at work which works for all our cursed crap19:45:58
@whentze:matrix.orgWanja Hentze
In reply to @lily:lily.flowers
i'm biased, so i won't answer...
no please shill your tool
19:46:08
@lily:lily.flowersLily Foster
In reply to @whentze:matrix.org
no please shill your tool
I mean I work on nixpkg's buildNpmPackage, and we basically work around npm bugs. The other decent one would be floco since they just reimplement npm's functionality, but apparently they're using a nix plugin now which just feels cursed? I've not seen enough about the dream2nix one, but i've heard it works more reliably than any of the others. The rest are outdated and highly questionable
19:49:18
@lily:lily.flowersLily FosterOh and i guess maybe the serokell one is decent. i've not seen it19:49:42
@lily:lily.flowersLily Foster(tbh the nixpkgs one would be a lot better if i either had time or someone else to collaborate on it with too...)19:50:17
@whentze:matrix.orgWanja Hentze
In reply to @marie:marie.cologne
i had the best experience with buildNpmPackage (nixpkgs) so far, but didn't try all of the things you said
that works well but the need to maintain the npmDepsHash is quite unfortunate. for larger projects the prefetcher takes forever and also eventually runs into npm rate limits
19:50:41
@lily:lily.flowersLily Foster(i mostly know what needs to be done, but it's a matter of doing it and the initial energy just to convince myself to get into node work can be a lot sometimes)19:51:00
@whentze:matrix.orgWanja Hentze we also have patches for that to make it retry with backoff that we intend to mainline ahem 19:51:16
@lily:lily.flowersLily Foster
In reply to @whentze:matrix.org
that works well but the need to maintain the npmDepsHash is quite unfortunate. for larger projects the prefetcher takes forever and also eventually runs into npm rate limits
We're fixing the npmDepsHash deal for out-of-tree stuff by having something like importCargoLock for npm lockfiles. And can you post a build log about the rate limits? I've never seen rate limits
19:51:32
@lily:lily.flowersLily Foster
In reply to @whentze:matrix.org
we also have patches for that to make it retry with backoff that we intend to mainline ahem
does it not already retry with backoff?
19:51:45
@whentze:matrix.orgWanja Hentze
In reply to @lily:lily.flowers
I mean I work on nixpkg's buildNpmPackage, and we basically work around npm bugs. The other decent one would be floco since they just reimplement npm's functionality, but apparently they're using a nix plugin now which just feels cursed? I've not seen enough about the dream2nix one, but i've heard it works more reliably than any of the others. The rest are outdated and highly questionable
the nix plugin is optional fwiw. you don't need it for floco itself
19:51:45

Show newer messages


Back to Room ListRoom Version: 6