Repository navigation
pnpm: convert to alias - #522535
pnpm: convert to alias#522535Scrumplex wants to merge 1 commit into
Conversation
To prevent usage of `pnpm` in nixpkgs, convert it to a proper alias. pnpm updates often break our tooling, which means we have to do treewide changes for some pnpm version updates. By forcing packages to pin to a certain pnpm version, we can avoid this issue. Signed-off-by: Sefa Eyeoglu <[email protected]>
2a249c9 to
82ad6af
Compare
gepbird
left a comment
There was a problem hiding this comment.
I agree encouraging people to use pinned pnpm versions, but how does moving it from all-packages.nix to aliases.nix help with this?
On this PR I replaced pnpm_11 with pnpm for autobrr and it was building just like before. Doesn't this only apply to 3rd party nixpkgs imports which disable aliases?
|
When nixpkgs CI evals a PR aliases are disabled. So basically nixpkgs CI will catch and prevent usage of the alias |
That's good to know, thanks :) Isn't the current |
This should not be merged before branch off!
To prevent usage of
pnpmin nixpkgs, convert it to a proper alias.pnpm updates often break our tooling, which means we have to do treewide
changes for some pnpm version updates. By forcing packages to pin to
a certain pnpm version, we can avoid this issue.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.