!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

Load older messages


SenderMessageTime
25 Jul 2023
@huantian:huantian.devhuantianthreading time, it seems build is failing on hydra again? 22:51:47
@huantian:huantian.devhuantianbut it just built fine on my system22:51:56
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.03:04:29
28 Jul 2023
@hexa:lossy.networkhexa gdamjan: incoming security issues for several appservices 14:22:23
@hexa:lossy.networkhexaimage.png
Download image.png
14:22:24
@hexa:lossy.networkhexawondering if you can expedite your efforts 😕14:22:36
@gdamjan:spodeli.orggdamjan:/14:22:43
@gdamjan:spodeli.orggdamjandid go too far14:22:47
@gdamjan:spodeli.orggdamjan * didn't go too far14:22:53
@gdamjan:spodeli.orggdamjanwhatever happened with that yarn2nix issue?15:11:16
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
whatever happened with that yarn2nix issue?
Which one?
15:22:56
@lily:lily.flowersLily FosterFor v2 lockfiles?15:23:01
@gdamjan:spodeli.orggdamjan no, it was about installing only the older version of a dependency when there were two versions of ajv in yarn.lock (one is direct dependency, the other is a deep dependency) 15:25:23
@lily:lily.flowersLily Foster Oh, is it a yarn2nix problem or fetchYarnDeps problem? (If there is an open nixpkgs issue can you link it so I can add it to our project board too?) 15:26:25
@gdamjan:spodeli.orggdamjanthere probably isn't. not by me anyway15:27:00
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
there probably isn't. not by me anyway
If you have the relevant info, would you mind opening one so I can add it then? Thank you! ❤️
15:27:50
@gdamjan:spodeli.orggdamjanyeah sure. can you send me a similar bug report so I know not to miss anything?15:28:32
@gdamjan:spodeli.orggdamjan it's a yarn2nix issue (it's what mkYarnPackage is using right) 15:29:56
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
it's a yarn2nix issue (it's what mkYarnPackage is using right)
You can use fetchYarnDeps with mkYarnPackage (in fact I'm pretty sure it was added originally for that reason, to avoid needing to vendor yarn.lock/yarn.nix when using mkYarnPackage). But if you aren't using fetchYarnDeps anywhere then yeah it's strictly a yarn2nix problem
15:32:12
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
yeah sure. can you send me a similar bug report so I know not to miss anything?

I mean here was a recent nodejs-related issue, if that's what you're asking for: https://github.com/NixOS/nixpkgs/issues/244285

I mostly just want a derivation to reproduce

15:36:06
@gdamjan:spodeli.orggdamjandamn, I've deleted my failed try when I was trying other approaches15:36:32
@gdamjan:spodeli.orggdamjanI'll re-create it later16:00:34
@lily:lily.flowersLily FosterOkay, thank you!!16:01:11
29 Jul 2023
@gdamjan:spodeli.orggdamjanI couldn't reproduce. (since I don't remember what I did).23:41:39
@gdamjan:spodeli.orggdamjanhttps://gist.github.com/gdamjan/08901abe49baadf083034e93ed32ccbe this builds matrix-appservice-irc, dependencies look mostly fine, but typescript is not built into javascript23:42:27
@gdamjan:spodeli.orggdamjan

let's see what happens with a custom build phase

  buildPhase = ''
    export HOME=$(mktemp -d)
    yarn --offline build
  '';
23:46:23
@gdamjan:spodeli.orggdamjanok seems to work23:49:00
@gdamjan:spodeli.orggdamjan 227M ./result/ 23:49:16
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
ok seems to work
--production probably
23:49:58
@lily:lily.flowersLily FosterI meant that in reply to the 227M23:50:07

Show newer messages


Back to Room ListRoom Version: 6