| 4 Jun 2023 |
| Federico Damián Schonborn changed their profile picture. | 17:40:21 |
| 5 Jun 2023 |
Pol | How to use Yarn 3 in mkYarnPackage wrapper ? | 08:30:22 |
Lily Foster | In reply to @drupol:matrix.org How to use Yarn 3 in mkYarnPackage wrapper ? We don't have yarn berry support in our nixpkgs tooling yet, but it's expected Soon™. You can make your own package-lock.json and use the npm tooling for now
Also idk if yarn2nix/mkYarnPackage will ever support it but we have newer tooling on the way that works more similarly to the npm tooling | 11:02:32 |
Pol | Is there any kind of documentation on how to do the package-lock.json ? | 11:18:56 |
Pol | So I can start to package the update of hedgehog 1.9.8 | 11:19:33 |
Lily Foster | npm lock on the repo and then you can copy it in with postPatch | 11:21:01 |
| 7 Jun 2023 |
Pol | In reply to @lily:lily.flowers
npm lock on the repo and then you can copy it in with postPatch Thanks | 12:34:51 |
Pol | npm lock doesn't exists. | 12:57:01 |
Pol | I guess npm i --package-lock-only ? | 12:58:11 |
Lily Foster | In reply to @drupol:matrix.org I guess npm i --package-lock-only ? Oh yeah, that (had it mixed up with another tool at the time) | 12:59:19 |
Pol | No problem. | 12:59:29 |
Lily Foster | You can also --ignore-scripts to reduce install side effects as well | 12:59:37 |
Pol | It's a dead end anyway, npm ERR! Unsupported URL Type "workspace:": workspace:commons | 12:59:43 |
Lily Foster | In reply to @drupol:matrix.org It's a dead end anyway, npm ERR! Unsupported URL Type "workspace:": workspace:commons Oh, lovely. I guess yarn berry supports workspace: specs now? Seems odd given I don't think npm can do that | 13:00:51 |
Pol | yeah... I think it's specific to yarn indeed. | 13:01:11 |
Lily Foster | I still don't have too much experience with yarn. I was hoping to get my open fetchYarnDeps PRs merged, get buildYarnPackage merged, and then look at what will be required for yarn berry support (spare time has just been in incredibly limited supply though...) | 13:02:26 |
Pol | No problem. Thanks anyway | 13:02:54 |
| 9 Jun 2023 |
hexa | 😭 | 14:42:23 |
hexa | https://github.com/matrix-org/matrix-appservice-irc/commit/a6207b92adb9c047598070b15b9ff12e1ec2f0b8 | 14:42:42 |
hexa | hi, we're using a yarn.lock now | 14:42:49 |
hexa | (╯°□°)╯︵ ┻━┻ | 14:44:27 |
hexa |
This also moves us onto yarn, to be in line with the rest of our ecosystem.
| 14:45:21 |
raitobezarius | :DDDDDDD | 15:30:30 |
raitobezarius | yes fetchYarnDeps / fixup_yarn_lock broke again | 16:01:58 |
raitobezarius | success Set "yarn-offline-mirror" to "/nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline".
Done in 0.02s.
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
error Couldn't find any versions for "chartjs-adapter-moment" that matches "1.0.1" in our cache (possible versions are ""). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue.
| 16:02:02 |
raitobezarius | ugh | 16:02:04 |
raitobezarius | furthermore:
❯ ls /nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline/chartjs_adapter_moment*
/nix/store/nmcpyykzzg7gdxyv3f2gfv9sbchsshcr-offline/chartjs_adapter_moment___chartjs_adapter_moment_1.0.1.tgz
| 16:03:51 |
Lily Foster | In reply to @raitobezarius:matrix.org yes fetchYarnDeps / fixup_yarn_lock broke again fixup_yarn_lock was already broke. That's why I have an open PR for a new impl that's coupled with prefetch-yarn-deps | 16:09:33 |
Lily Foster | (fixup_yarn_lock is from yarn2nix too...) | 16:09:46 |
raitobezarius | I better invest time into reviewing your stuff and helping you I guess | 16:09:51 |