Repository navigation
Conversation
|
This makes use of PNPM, so it can be improved with #290715 being merged. If that's merged before this, I'll be glad to update this. |
|
I think it'll take time for #290715 :). |
|
CI isn't green BTW - hash mismatch. |
5f2260d to
4c70200
Compare
Confirmed the error and fixed. |
4c70200 to
23a5be6
Compare
|
Also version 2.9.0 is out, consider bumping. |
23a5be6 to
cbe36c9
Compare
Updated, but now I'm getting |
|
Damn... Another a hash mismatch in ofborg: I wonder what @Scrumplex will think about it.. @pyrox0 could you run please And/Or somehow try to find the culprit for the hash difference? |
There was a problem hiding this comment.
| pnpm install --frozen-lockfile --no-optional --ignore-script | |
| pnpm install --frozen-lockfile --no-optional --ignore-script --force |
this is the result of the hash mismatch. without --force, pnpm will only install dependencies for the current architecture. we might want to extract from #290715 or vesktop instead
There was a problem hiding this comment.
Edited this in and fixed the hash. Thanks for catching this!
Also edited in some other changes from #290715, but still doesn't resolve the build issue.
be6faf1 to
899cea0
Compare
Thanks for the ideas in that! I kept the original dependencies process and added some filtering, managed to get it down to ~215 mb. Can you test if this still works? I don't see any reason it shouldn't, but a double-check would be great. |
899cea0 to
a5de681
Compare
gepbird
left a comment
There was a problem hiding this comment.
Tested it and works as expected! You're right, we probably shouldn't adopt the new pnpm tooling until it supports workspaces to save on performance, this builds (approximately) 2x faster with half as much filesize.
There was a problem hiding this comment.
So Do I understand correctly that this --filter argument is what you would miss support for in pnpm.fetchDeps?
There was a problem hiding this comment.
The filter thing is important, but also setting dedupe-peer-dependants above, which is required for this package to build properly.
There was a problem hiding this comment.
The filter thing is important, but also setting dedupe-peer-dependants above, which is required for this package to build properly.
Hmm it'd be nice to make pnpm.fetchDeps accept arguments that would allow to add arbitrarily such config options.. cc @Scrumplex
There was a problem hiding this comment.
For sure pnpm.configHook will gain benefit if you could add arbitrary flags to it... What do you think about that @Scrumplex ?
a5de681 to
0f97ef1
Compare
|
R.E That isn't the case here, both the symlink and the file it points to are both marked executable. I'm still not sure why patchShebangs doesn't work. |
0f97ef1 to
21c7157
Compare
|
OK This looks good in principal, but I tend to think it will be beneficial to add the missing options to the |
|
I can try to do that at least for the filter attribute, but the extra config options may be a bit more difficult. I'll see what I can do, and will submit it as a separate pull request. |
|
Please rebase |
|
#323493 (which also needs a reabase :)) is a better alternative. I'll close this one in favor of it. |
Close NixOS#309100 . Co-authored-by: Pyrox <[email protected]>
Description of changes
Creates the astro-language-server package, moving it from nodePackages. I also regenerated
node-packages.nixto remove it from that package set, but if that's not wanted to be in this PR, I can remove that. This also updates from 2.8.3 to 2.10.0, see the changelog.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.