Skip to content

Commit 509f5df

Browse files
committed
chore: use the default pnpm and nodejs nixpkgs attributes
Pin to the unversioned `pnpm` and `nodejs` attributes rather than `pnpm_11` / `nodejs_24`. `pnpm` currently resolves to 11.1.1 (same as the explicit alias, matching the lockfile) and `nodejs` tracks the active LTS, so the dev shell and CI follow the maintained defaults without hard-coding a major.
1 parent 5e61d0e commit 509f5df

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# realizing the full dev shell, which drags in every linter, formatter,
5454
# and the pre-commit hook closure and dominated this job's wall time.
5555
- name: Install JS tooling
56-
run: nix profile install --inputs-from . nixpkgs#pnpm_11 nixpkgs#nodejs_24 nixpkgs#just
56+
run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs nixpkgs#just
5757
- run: pnpm install --frozen-lockfile
5858
- name: Create default Claude directories for tests
5959
run: |
@@ -147,7 +147,7 @@ jobs:
147147
# matrix below (no Rust build happens here), so the full `nix develop` dev
148148
# shell is unnecessary. The prepack scripts run tsdown (node) and
149149
# ensure-native-binary (bun), so provision those runtimes explicitly.
150-
- run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs_24 nixpkgs#bun
150+
- run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs nixpkgs#bun
151151
- run: pnpm install --frozen-lockfile
152152
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
153153
with:
@@ -231,7 +231,7 @@ jobs:
231231
# `nix develop` dev shell is unnecessary. Install just the tools the perf
232232
# scripts invoke, pinned to the flake's nixpkgs via `--inputs-from .`.
233233
- name: Install perf tooling
234-
run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs_24 nixpkgs#bun nixpkgs#hyperfine nixpkgs#just
234+
run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs nixpkgs#bun nixpkgs#hyperfine nixpkgs#just
235235
- run: pnpm install --frozen-lockfile
236236

237237
- name: Resolve PR preview package URL
@@ -309,7 +309,7 @@ jobs:
309309
# `nix develop` dev shell is unnecessary. Install just the tools the perf
310310
# scripts invoke, pinned to the flake's nixpkgs via `--inputs-from .`.
311311
- name: Install perf tooling
312-
run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs_24 nixpkgs#bun nixpkgs#hyperfine nixpkgs#just
312+
run: nix profile install --inputs-from . nixpkgs#pnpm nixpkgs#nodejs nixpkgs#bun nixpkgs#hyperfine nixpkgs#just
313313
- run: pnpm install --frozen-lockfile
314314

315315
- name: Resolve PR preview package URL

‎nix/dev-shell.nix‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ in
2020
devShells.default = pkgs.mkShell {
2121
buildInputs =
2222
(with pkgs; [
23-
nodejs_24
24-
pnpm_11
23+
nodejs
24+
pnpm
2525
bun
2626

2727
rustToolchain

0 commit comments

Comments
 (0)