!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

Load older messages


SenderMessageTime
8 Aug 2023
@gdesforges:matrix.org@gdesforges:matrix.org
In reply to @lily:lily.flowers
Unless I'm misreading, the yarn.lock you committed is different from the upstream yarn.lock at 3.1.0...?
Well that could be a thing
22:31:50
@lily:lily.flowersLily FosterHmmm still doesn't work after updating to 3.2.022:32:16
@lily:lily.flowersLily FosterSo I'm gonna pull down a fresh lockfile for that version so I have a better comparison (I did the diff and noticed a bunch of them were different only in version number)22:32:39
@lily:lily.flowersLily Foster(which made no sense for locked deps 🤔)22:32:52
@lily:lily.flowersLily FosterHeck I'm gonna have to regenerate yarn.nix aren't I. I don't even know how to do that, I like touching yarn2nix as little as possible22:33:50
@lily:lily.flowersLily FosterOkay you're gonna love this. Now it doesn't work with vendored yarn.lock either with 3.2.0 🫠22:36:42
@gdesforges:matrix.org@gdesforges:matrix.orgJust call `yarn2nix` in the folder22:36:43
@gdesforges:matrix.org@gdesforges:matrix.orgAnd write stdout to yarn.nix22:36:52
@lily:lily.flowersLily FosterYep, I figured it out, thank you!22:36:59
@gdesforges:matrix.org@gdesforges:matrix.orgTrying my best to support you 😄22:37:17
@lily:lily.flowersLily Foster

So the only diff is this:

Binary files /nix/store/dbzacnpaxdzfgj7nymm68bp8hfsdj651-offline/5dd91d76ba088119836f60f514dc0a0b8b30e78d and /nix/store/zlshz8zl6sg705kbj0d8d3ha7qyhlzs6-offline/5dd91d76ba088119836f60f514dc0a0b8b30e78d differ
22:37:30
@lily:lily.flowersLily FosterWhich shouldn't matter22:37:33
@gdesforges:matrix.org@gdesforges:matrix.orgGo go go Lily! 👐22:37:36
@lily:lily.flowersLily FosterBut now vendored and non-vendored get the exact same error22:37:42
@lily:lily.flowersLily FosterSo something's hecked somewhere22:37:45
@lily:lily.flowersLily FosterAnd idk where you got your lockfile from22:37:49
@lily:lily.flowersLily FosterThe one that did work22:37:53
@gdesforges:matrix.org@gdesforges:matrix.orgFrom marp-cli GitHub repo tag 3.1.022:38:23
@lily:lily.flowersLily FosterDid they retag or something? It differed from what I pulled from the tag22:38:43
@lily:lily.flowersLily Foster
In reply to @gdesforges:matrix.org
From marp-cli GitHub repo tag 3.1.0
When I run this from your branch, they do not match:diff "$(nix eval --raw .#marp-cli.src)/yarn.lock" pkgs/tools/typesetting/marp/yarn.lock
22:39:53
@gdesforges:matrix.org@gdesforges:matrix.orghttps://github.com/marp-team/marp-cli/blob/a6a3fd21f605e4dcc723aacd9649b9e4c92de021/yarn.lock22:40:26
@gdesforges:matrix.org@gdesforges:matrix.orgWell I'll be damned 22:40:42
@gdesforges:matrix.org@gdesforges:matrix.orgIDK22:40:44
@lily:lily.flowersLily FosterSo that you can poke at the same thing I am if you want, I just pushed to https://github.com/lilyinstarlight/nixpkgs/tree/tmp/marp22:41:45
@lily:lily.flowersLily FosterFor 3.2.022:41:48
@lily:lily.flowersLily FosterWith the upstream lockfile I directly curl'd22:41:55
@lily:lily.flowersLily Foster github:lilyinstarlight/nixpkgs/tmp/marp#marp-cli if you wanted to build it from flake uri 22:43:32
@lily:lily.flowersLily FosterHmmm I think this might be a yarn2nix bug22:44:13
@lily:lily.flowersLily Foster I'm gonna try it using fetchYarnDeps and mkDerivation instead of mkYarnPackage and see what it does 22:44:29
@lily:lily.flowersLily FosterYeah this is 100% a yarn2nix bug. I just built marp-cli without it just fine22:53:42

Show newer messages


Back to Room ListRoom Version: 6