!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

152 Members
47 Servers

Load older messages


SenderMessageTime
30 Aug 2024
@emilazy:matrix.orgemilyooh, we should start calling it "OBLF" so we have another acronym as confusing and misleading as "IFD".03:50:55
@emilazy:matrix.orgemilyI didn't actually get around to starting to write the tool for Rust yet, but FWIW I wouldn't necessarily be opposed to extending it to work with other language package sets if that ends up being a thing that would be convenient03:51:42
@emilazy:matrix.orgemily(though I can understand if Go wants a tool written in Go, etc.)03:51:57
@adis:blad.is@adis:blad.is
In reply to @emilazy:matrix.org
Node.js could use a bit of the same treatment, I've noticed
I can't even conceptualize what that would look like for node
03:53:45
@emilazy:matrix.orgemilyhm03:54:08
@adis:blad.is@adis:blad.is

The Python ecosystem is much worse about following SemVer

They actually don't follow semver at all: https://peps.python.org/pep-0440/

03:54:10
@emilazy:matrix.orgemily because of nested node_modules? 03:54:14
@winter:catgirl.cloudWinternodejs is... hell03:54:28
@winter:catgirl.cloudWinterhave you seen the sheer amount of hacks we have to do?03:54:38
@adis:blad.is@adis:blad.isBecause of how many versions of a dependency that needs to coexist in a tree03:54:51
@emilazy:matrix.orgemilyright03:55:08
@adis:blad.is@adis:blad.isAnd how they need to be compatible03:55:19
@emilazy:matrix.orgemilyyou can at least canonicalize all the compatible ones, right?03:55:19
@emilazy:matrix.orgemilybut yeah the nice thing about Rust and Go is that they have ecosystems that are well-behaved about versioned dependencies03:55:31
@emilazy:matrix.orgemilyso it's probably a lot easier to accomplish for them than anything else03:55:37
@winter:catgirl.cloudWinteryeah i'd say let's make this work well with Rust/Go first03:55:42
@winter:catgirl.cloudWinterwhich is 1000000x more feasible than npm03:55:49
@adis:blad.is@adis:blad.isI'm not loving the whole FOD situation we have in nodejs. But I don't see a path to a better alternative.03:56:34
@winter:catgirl.cloudWinterit's not perfect, no03:56:54
@winter:catgirl.cloudWinterbut it's much better than we had before03:56:59
@winter:catgirl.cloudWinterideally dynamic derivations would, y'know, be a thing03:57:08
@winter:catgirl.cloudWinterbut we're probably years away from thay03:57:15
@winter:catgirl.cloudWinter * 03:57:19
@emilazy:matrix.orgemily(oh no, the Nixpkgs issue has been dragged into an upstream Rust argument about the 1.80 situation)03:57:37
@adis:blad.is@adis:blad.is Winter: You might have missed that I introduced importNpmLock at some point recently-ish? 03:57:38
@winter:catgirl.cloudWinteri saw it03:57:45
@winter:catgirl.cloudWinterbut i mean for Nixpkgs stuff :)03:57:53
@adis:blad.is@adis:blad.isIt doesn't replace anything from nixpkgs, it's more for local workflows03:58:00
@winter:catgirl.cloudWintervery good to see that my hooks basically Just Work(ed) with it, though!03:58:09
@emilazy:matrix.orgemilyto be slightly more on topic, what's the deal with pnpm? good thing? bad thing?03:58:20

Show newer messages


Back to Room ListRoom Version: 6