nix-typescript

Manage fetchPnpmDeps hashes for TypeScript projects using pnpm and Nix.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/srid/padam --skill nix-typescript-srid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nix-typescript
Source: https://github.com/srid/padam/tree/main/.claude/skills/nix-typescript
Command: npx skills add https://github.com/srid/padam --skill nix-typescript-srid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

pnpm + Nix project builds often suffer from dependency hash mismatches when pnpm-lock.yaml changes; this skill provides guidance to manage and fix the fetchPnpmDeps pinned hash and streamline the build workflow.

Core Features & Use Cases

  • Pin and update fetchPnpmDeps hashes in nix/modules/typescript.nix to keep builds reproducible.
  • Provide a clear build workflow for full production builds and development runs using nix.
  • Useful for TypeScript projects using pnpm+Nix facing hash mismatches, build failures, or dependency workflow optimizations.

Quick Start

Install dependencies and run the recommended nix build workflow to verify and fix the dependency hash when the lockfile changes.

Frequently Asked Questions about nix-typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix fetchPnpmDeps hash mismatches when pnpm-lock.yaml changes?

To fix fetchPnpmDeps hash mismatches after pnpm-lock.yaml changes, you must update the pinned dependency hash value in nix/modules/typescript.nix and re-run the full production build workflow to verify the new hash.

Why does my Nix build fail after updating pnpm dependencies?

Nix builds fail after pnpm dependency updates because the fetchPnpmDeps hash pinned in nix/modules/typescript.nix becomes outdated when pnpm-lock.yaml changes, requiring a manual hash update to restore reproducible builds.

How do I manage dependency hashes for TypeScript projects using pnpm and Nix?

Managing dependency hashes for TypeScript projects requires pinning the fetchPnpmDeps hash in nix/modules/typescript.nix and following a structured build workflow to update hashes whenever pnpm-lock.yaml changes.

Can I use this workflow for full production builds and development runs with Nix?

Yes, the workflow supports both full production builds and development runs using Nix, providing a clear build process to verify dependency hashes and execute TypeScript projects built with pnpm.

What is the best way to keep pnpm and Nix builds reproducible?

Keeping pnpm and Nix builds reproducible requires pinning the fetchPnpmDeps hash in nix/modules/typescript.nix and applying a consistent hash update workflow whenever pnpm-lock.yaml is modified.

Do I need nix/modules/typescript.nix to manage pnpm dependency hashes?

Yes, nix/modules/typescript.nix is required as it contains the pinned fetchPnpmDeps hash that must be updated whenever pnpm-lock.yaml changes to maintain successful Nix builds.