Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Every Nix output fails when a nixpkgs bump moves pnpm past package.json's packageManager pin
date: 2026-11-13
category: build-errors
problem_type: build_error
severity: high
symptoms:
- "mkPnpmWorkspacePackages: package.json pins pnpm@11.25.0 but the build uses pnpm 11.27.0; pin the version Nix provides"
- The Nix cache push job reports "nothing built, so nothing was pushed"
tags:
- nix
- pnpm
- packageManager
- nixpkgs
- dependabot
---

# Every Nix output fails when a nixpkgs bump moves pnpm past package.json's packageManager pin

## Problem

The nixpkgs bump to f4a03c0 (#91) moved the pnpm that Nix provides from 11.25.0 to 11.27.0. `mkPnpmWorkspacePackages` refuses to build when `package.json`'s `packageManager` names a different pnpm, so `arethetypeswrong-cli`, `pnpm-store` and `workspace-tarballs` all failed, and the cache push had nothing to push.

## Fix

Set `packageManager` to `pnpm@11.27.0`, the version Nix provides. The flake outputs evaluate again.

## Prevention

A nixpkgs bump that changes pnpm's version needs the `packageManager` pin moved in the same PR. Look for this refusal in the nixpkgs PR's Nix job before merging it.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"license": "Apache-2.0",
"name": "are-the-types-wrong",
"packageManager": "pnpm@11.25.0",
"packageManager": "pnpm@11.27.0",
"private": true,
"scripts": {
"attw": "turbo --concurrency=${TURBO_CONCURRENCY:-50%} attw",
Expand Down
Loading