Skip to content

stylelint-lsp: migrate from pnpm_9 to pnpm_11 - #530554

Merged
mweinelt merged 4 commits into
NixOS:masterfrom
gepbird:stylelint-lsp-newer-pnpm
Jul 23, 2026
Merged

mweinelt merged 4 commits into
NixOS:masterfrom
gepbird:stylelint-lsp-newer-pnpm

Conversation

@gepbird

@gepbird gepbird commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Part of #529285

This package uses lockfileVersion: 6 which is rejected by pnpm_10 and pnpm_11 with this error:

stylelint-lsp-pnpm-deps> [WARN] Ignoring not compatible lockfile at /build/source/pnpm-lock.yaml
stylelint-lsp-pnpm-deps> [ERR_PNPM_NO_LOCKFILE] Cannot install with "frozen-lockfile" because pnpm-lock.yaml is absent

Including this big of a patch into nixpkgs is a bad idea: #327064.
I've submitted an upstream PR, in case it would block the removal of pnpm_9, I'll most likely fork but maybe drop it.

The big patch is now redundant as upstream updated the lockfile.

The enhancements and refactors are also separated into #530550 which can be merged before making the final decision on how to migrate away from pnpm_9, this PR focuses only on the pnpm_9 stuff.

Things done

@gepbird
gepbird requested a review from qweered June 11, 2026 00:31
@gepbird gepbird mentioned this pull request Jun 11, 2026
55 of 56 tasks
@gepbird gepbird changed the title stylelint-lsp: migrate from pnpm_8 to pnpm_11 stylelint-lsp: migrate from pnpm_9 to pnpm_11 Jun 11, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 11, 2026

@qweered qweered left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm if upstream accept your pr, lets see. In the worst case we can vedor it via pull request URL to avoid having whole patch in the tarball

@gepbird

gepbird commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

In the worst case we can vedor it via pull request URL to avoid having whole patch in the tarball

If the PR is open, we shouldn't do that: #476406

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 11, 2026
@qweered

qweered commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Oh yeah, I forgot about that issue

@gepbird
gepbird force-pushed the stylelint-lsp-newer-pnpm branch from 8d9f435 to 1075301 Compare July 19, 2026 16:31
@gepbird

gepbird commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Previous force-push was only a rebase to latest master, next will be updating to an unstable commit where upstream is using pnpm 11, so we don't need to vendor a huge lockfile patch.

@gepbird
gepbird force-pushed the stylelint-lsp-newer-pnpm branch from 1075301 to 7d53d17 Compare July 19, 2026 16:40
@gepbird
gepbird marked this pull request as ready for review July 19, 2026 16:41
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Jul 19, 2026
@gepbird
gepbird requested review from dotlambda and qweered July 19, 2026 16:46
@gepbird gepbird added the backport release-26.05 Backport PR automatically label Jul 19, 2026
@mweinelt
mweinelt added this pull request to the merge queue Jul 23, 2026
Merged via the queue into NixOS:master with commit bfe2cc1 Jul 23, 2026
27 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jul 23, 2026
@gepbird
gepbird deleted the stylelint-lsp-newer-pnpm branch July 24, 2026 08:33
gepbird added a commit to gepbird/nvim that referenced this pull request Jul 25, 2026
Flake lock file updates:

• Updated input 'nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
gepbird added a commit to gepbird/dotfiles that referenced this pull request Jul 25, 2026
Flake lock file updates:

• Updated input 'nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
gepbird added a commit to gepbird/dotfiles that referenced this pull request Jul 25, 2026
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/3139deb8cafbe73b39b24451255b2fdd3426077e' (2026-07-19)
  → 'github:nix-community/home-manager/079a3b5d1aa6a719920a51316253b7d6dd22738d' (2026-07-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/61b7c44c4073f0b827768aff0049561b5110ea5a' (2026-07-18)
  → 'github:NixOS/nixpkgs/e2587caef70cea85dd97d7daab492899902dbf5d' (2026-07-23)
• Updated input 'nur':
    'github:nix-community/NUR/56a8888ca31db39d7335874ae4a187361225a4fb' (2026-07-19)
  → 'github:nix-community/NUR/84a24bf2606fb36af6385f9c4515d9cfdada5ceb' (2026-07-25)
• Updated input 'nvim-gep':
    'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=00494972e1180190aa0da4e4c108fc9565823191' (2026-07-19)
  → 'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=45b70dd847e3fb3653d3001a784307f396855e0c' (2026-07-25)
• Updated input 'nvim-gep/neovim-nightly':
    'github:nix-community/neovim-nightly-overlay/5371e49816c6617aab6cf8c1e4a89e64bcf54641' (2026-07-19)
  → 'github:nix-community/neovim-nightly-overlay/0f46eaeeea58c396929ed4d04ed46282e1e0e33f' (2026-07-25)
• Updated input 'nvim-gep/neovim-nightly/neovim-src':
    'github:neovim/neovim/41294e42533daf937410b6285e20a7c0a898f9a8' (2026-07-11)
  → 'github:neovim/neovim/63c84e4c1a0224b478c9e7ed48d483d0d749a540' (2026-07-24)
• Updated input 'nvim-gep/nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
• Updated input 'nvim-gep/nixvim':
    'github:nix-community/nixvim/07180a087e4a00720dc0731cbcd8dec796974381' (2026-07-14)
  → 'github:nix-community/nixvim/f316e949e0ed9df0e1e0bf645c6dce721d4e230e' (2026-07-23)
gepbird added a commit to tchfoo/raspi-dotfiles that referenced this pull request Jul 26, 2026
Flake lock file updates:

• Updated input 'nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
gepbird added a commit to tchfoo/raspi-dotfiles that referenced this pull request Jul 26, 2026
Flake lock file updates:

• Updated input 'gep-dotfiles':
    'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=098309a42358b6abc3694eaf053883c6551dd933' (2026-07-19)
  → 'git+https://git.tchfoo.com/gepbird/dotfiles?ref=refs/heads/main&rev=9ff383c502c2f10b9201e11739c646d1896ea391' (2026-07-25)
• Added input 'gep-dotfiles/nixpkgs-patch-bitwarden-desktop-fix-eval':
    'NixOS/nixpkgs#545058'
• Updated input 'gep-dotfiles/nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
• Updated input 'gep-dotfiles/nvim-gep':
    'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=00494972e1180190aa0da4e4c108fc9565823191' (2026-07-19)
  → 'git+https://git.tchfoo.com/gepbird/nvim?ref=refs/heads/main&rev=45b70dd847e3fb3653d3001a784307f396855e0c' (2026-07-25)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly':
    'github:nix-community/neovim-nightly-overlay/5371e49816c6617aab6cf8c1e4a89e64bcf54641' (2026-07-19)
  → 'github:nix-community/neovim-nightly-overlay/0f46eaeeea58c396929ed4d04ed46282e1e0e33f' (2026-07-25)
• Updated input 'gep-dotfiles/nvim-gep/neovim-nightly/neovim-src':
    'github:neovim/neovim/41294e42533daf937410b6285e20a7c0a898f9a8' (2026-07-11)
  → 'github:neovim/neovim/63c84e4c1a0224b478c9e7ed48d483d0d749a540' (2026-07-24)
• Updated input 'gep-dotfiles/nvim-gep/nixpkgs-patch-stylelint-lsp-fix-build':
    'NixOS/nixpkgs#536260'
  → 'NixOS/nixpkgs#530554'
• Updated input 'gep-dotfiles/nvim-gep/nixvim':
    'github:nix-community/nixvim/07180a087e4a00720dc0731cbcd8dec796974381' (2026-07-14)
  → 'github:nix-community/nixvim/f316e949e0ed9df0e1e0bf645c6dce721d4e230e' (2026-07-23)
• Updated input 'home-manager':
    'github:nix-community/home-manager/3139deb8cafbe73b39b24451255b2fdd3426077e' (2026-07-19)
  → 'github:nix-community/home-manager/079a3b5d1aa6a719920a51316253b7d6dd22738d' (2026-07-24)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/779c32a00155994c86cde8213a8dd4df139d4355' (2026-07-17)
  → 'github:NixOS/nixos-hardware/a017f5b72210026af5b3ac5949f08d94380a6fbd' (2026-07-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/61b7c44c4073f0b827768aff0049561b5110ea5a' (2026-07-18)
  → 'github:NixOS/nixpkgs/e2587caef70cea85dd97d7daab492899902dbf5d' (2026-07-23)
• Added input 'nixpkgs-patch-python-cheetah3-fix-build':
    'NixOS/nixpkgs#545346'
• Updated input 'nur':
    'github:nix-community/NUR/9a701c82547c5e1ccb1a5a7652a03bd4283404b1' (2026-07-19)
  → 'github:nix-community/NUR/fd35d358fbcb5e75d7bd12efc1a10fbd7735050f' (2026-07-25)
• Updated input 'tangled-core':
    'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=da1953b92c920d3beb2cbd4914387ec3189728ae' (2026-07-19)
  → 'git+https://tangled.org/tangled.org/core?ref=refs/heads/master&rev=01117fddd3502c57bc20a65a75a66a4900d5d67d' (2026-07-25)
• Updated input 'tangled-core/htmx-src':
    'https://unpkg.com/[email protected]/dist/htmx.min.js?narHash=sha256-nm6avZuEBg67SSyyZUhjpXVNstHHgUxrtBHqJgowU08%3D'
  → 'https://cdn.jsdelivr.net/npm/[email protected]/dist/htmx.min.js?narHash=sha256-2D8I0L0u6qb57QpeVn88RrT0xatDwQwG/lWOTjuEFPc%3D'
• Updated input 'tangled-core/htmx-ws-src':
    'https://cdn.jsdelivr.net/npm/[email protected]?narHash=sha256-2fg6KyEJoO24q0fQqbz9RMaYNPQrMwpZh29tkSqdqGY%3D'
  → 'https://cdn.jsdelivr.net/npm/[email protected]?narHash=sha256-woiluaeAoxH/CyDkpk6LYNWCzxH8PHgwgnrlBFGJxgk%3D'
• Added input 'tangled-core/tailwindcss-animated-src':
    'https://registry.npmjs.org/tailwindcss-animated/-/tailwindcss-animated-1.1.2.tgz?narHash=sha256-l3esIcsAwj0PHOhnHBLWiLzzRiOo1yOk9VYEGpn6fyQ%3D' (1985-10-26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants