!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

193 Members
57 Servers

Load older messages


SenderMessageTime
30 Aug 2024
@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
@adis:blad.is@adis:blad.isYeah :) Pretty well designed hooks ;)03:58:26
@emilazy:matrix.orgemilyI had to backport the Nixpkgs pnpm machinery to 24.05 because of Electron03:58:27
@emilazy:matrix.orgemilyand I was just like what is this03:58:30
@winter:catgirl.cloudWinterbluntly: the pnpm solution that was added is... uh03:58:35

Show newer messages


Back to Room ListRoom Version: 6