~/talk

Building pnpm2nix: yet another npm to nix tool

Talkat NixCon 2018 · 2018-10-25..10-27· [nodejs, developer-experience]
name:Adam Hose
links:none on file
slides:none on file

pnpm2nix converts pnpm lockfiles into Nix derivations that reproduce pnpm’s actual on-disk layout, including centralized store reuse, hard links & symlinks, and graph rewriting overrides. It runs package lifecycle scripts, resolves GitHub deps to tarballs, merges dependency cycles into single derivations, and can produce a wrapped node dev environment. Real projects exercise enormous graphs (examples hit ~850 packages), which makes many small derivations and slows builds; import-from-derivation for llama JSON is used today.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:06Node.js module system explained
  3. 3:34History of npm package managers
  4. 7:19pnpm features and advantages
  5. 9:25pnpm store structure and purity
  6. 11:14Challenges in Node.js packaging
  7. 14:09Building pnpm2nix tool
  8. 15:37Using pnpm2nix for development
  9. 17:05Performance and dependency issues
  10. 18:44Current state and future plans
  11. 20:39Thank you and acknowledgments
  12. 21:42Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.