!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

Load older messages


SenderMessageTime
18 Jul 2023
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
when does that happen
Towards the end. I'd have to go double check exactly. Why, is it not doing it for you?
18:29:45
@gdamjan:spodeli.orggdamjanlast time I checked it wasn't18:30:15
@lily:lily.flowersLily FosterCan you share the derivation?18:32:34
@gdamjan:spodeli.orggdamjanlet me re-try, this was some time back trying to build matrix-appservice-irc18:39:30
@gdamjan:spodeli.orggdamjan well, I stumbled on another problem
https://github.com/matrix-org/matrix-appservice-irc/blob/develop/yarn.lock#L1309-L1327
it wants two different versions of ajv
nix only installs the older one
21:52:49
@gdamjan:spodeli.orggdamjanlet me try nixos-unstable21:54:06
@gdamjan:spodeli.orggdamjansame thing21:55:13
@gdamjan:spodeli.orggdamjan

on non-nix there will be 4 versions of ajv:

node_modules/har-validator/node_modules/ajv
node_modules/eslint/node_modules/ajv
node_modules/ajv
node_modules/@eslint/eslintrc/node_modules/ajv```
21:56:05
@gdamjan:spodeli.orggdamjan *

on non-nix there will be 4 versions of ajv:

node_modules/har-validator/node_modules/ajv
node_modules/eslint/node_modules/ajv
node_modules/ajv
node_modules/@eslint/eslintrc/node_modules/ajv
21:56:16
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
well, I stumbled on another problem
https://github.com/matrix-org/matrix-appservice-irc/blob/develop/yarn.lock#L1309-L1327
it wants two different versions of ajv
nix only installs the older one
As in fetchYarnDeps only fetches the older version?
23:11:22
@gdamjan:spodeli.orggdamjanno that was mkYarnPackage23:15:32
@lily:lily.flowersLily FosterAh, yarn2nix makes me sad πŸ₯²23:15:47
19 Jul 2023
@ambroisie:belanyi.fr@ambroisie:belanyi.fr Do we have a list of pnpm packages currently in nixpkgs? 10:35:56
@lily:lily.flowersLily Foster We don't have a listing anywhere. Maybe grep the tree for pnpm? 10:38:37
21 Jul 2023
@hellwolf:matrix.orghellwolf
       error: Package β€˜nodejs-16.20.1’ in /nix/store/w8yzl2ydv1wvb0xiw4p54rm2f0588jai-source/pkgs/development/web/nodejs/v16.nix:16 is marked as insecure, refusing to evaluate.


       Known issues:
        - This NodeJS release has reached its end of life. See https://nodejs.org/en/about/releases/.
09:16:24
@hellwolf:matrix.orghellwolfOh, but we are still missing nodejs-20_x right? Any ETA?09:16:50
@ulli:hrnz.li@ulli:hrnz.li2023-04-2009:24:46
@hellwolf:matrix.orghellwolfhuh09:30:53
@hellwolf:matrix.orghellwolfaha, of course09:31:12
@hellwolf:matrix.orghellwolfpkgs/top-level/aliases.nix <-- they are aliases, okay09:32:14
@hellwolf:matrix.orghellwolfI should use 'nodejs_18' instead, not nodejs-16_x09:32:51
22 Jul 2023
@gdamjan:spodeli.orggdamjan
In reply to @lily:lily.flowers
Ah, yarn2nix makes me sad πŸ₯²
what would be an alternative approach?
15:59:34
23 Jul 2023
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
what would be an alternative approach?
buildYarnPackage, whenever we come back to that. It's like next on the list after a few more buildNpmPackage/fetchNpmDeps PRs I have open (see the Node.js team project board)
00:08:12
@lily:lily.flowersLily Foster(there's no major technical blockers, it just needs some time put into it, and we've been dealing with too much real-life nonsense 😭)00:10:06
@sandro:supersandro.deSandro 🐧 joined the room.21:51:42
@sandro:supersandro.deSandro 🐧How do we package things that require yarn berry? Hedgedoc is currently stuck on 1.9.7 because of that and there is soon an urgency to update.21:51:58
@lily:lily.flowersLily FosterIf I get the time and mental bandwidth, I may take a stab at it this week. Right now we have no tooling for it so just generating and vendoring a package-lock.json is unfortunately probably the best solution atm if it still builds fine with npm22:00:40
@me:indeednotjames.com@me:indeednotjames.com joined the room.22:12:48
@sandro:supersandro.deSandro 🐧then I am probably going that route, we have a security update ahead...22:18:12
24 Jul 2023
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Sandro 🐧: 07:57:33

Show newer messages


Back to Room ListRoom Version: 6