| 8 Aug 2023 |
Lily Foster | (also it will only work with buildNpmPackage -- node2nix does not inspect those tokens afaik) | 22:17:44 |
Lily Foster | In reply to @countoren:matrix.org Hi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage? Oh actually it won't work with buildNpmPackage either... Can you open an issue on nixpkgs and @ me on it? (@lilyinstarlight) | 22:18:24 |
Lily Foster | I'll add it to our backlog of features | 22:18:28 |
Lily Foster | In reply to @gdesforges:matrix.org the offlineCache error is a mystery to me Yep, me too, since it's definitely in the cache. I'm assuming it's some difference in the cache naming between yarn2nix and fetchYarnDeps, which isn't supposed to happen but that was never regularly tested and I've already been concerned they had diverged a little | 22:19:20 |
Lily Foster | (I just started looking at it now, so I'm about to diff the cache dirs and find out) | 22:19:35 |
Lily Foster | In reply to @gdesforges:matrix.org the offlineCache error is a mystery to me Unless I'm misreading, the yarn.lock you committed is different from the upstream yarn.lock at 3.1.0...? | 22:29:36 |
Lily Foster | So I wonder if their lockfile was out of date or something | 22:29:52 |
@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 Foster | Hmmm still doesn't work after updating to 3.2.0 | 22:32:16 |
Lily Foster | So 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 Foster | (which made no sense for locked deps 🤔) | 22:32:52 |
Lily Foster | Heck 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 possible | 22:33:50 |
Lily Foster | Okay 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 | Just call `yarn2nix` in the folder | 22:36:43 |
@gdesforges:matrix.org | And write stdout to yarn.nix | 22:36:52 |
Lily Foster | Yep, I figured it out, thank you! | 22:36:59 |
@gdesforges:matrix.org | Trying my best to support you 😄 | 22:37:17 |
Lily 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 Foster | Which shouldn't matter | 22:37:33 |
@gdesforges:matrix.org | Go go go Lily! 👐 | 22:37:36 |
Lily Foster | But now vendored and non-vendored get the exact same error | 22:37:42 |
Lily Foster | So something's hecked somewhere | 22:37:45 |
Lily Foster | And idk where you got your lockfile from | 22:37:49 |
Lily Foster | The one that did work | 22:37:53 |
@gdesforges:matrix.org | From marp-cli GitHub repo tag 3.1.0 | 22:38:23 |
Lily Foster | Did they retag or something? It differed from what I pulled from the tag | 22:38:43 |
Lily 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 | https://github.com/marp-team/marp-cli/blob/a6a3fd21f605e4dcc723aacd9649b9e4c92de021/yarn.lock | 22:40:26 |
@gdesforges:matrix.org | Well I'll be damned | 22:40:42 |
@gdesforges:matrix.org | IDK | 22:40:44 |