Building a Directory with `buildNpmPackage` in a Nix Derivation

· · March 9, 2025, 11:03 p.m.
Summary
This blog post explains how to build an npm package that results in a directory instead of a single executable file using a Nix derivation. It describes a personal experience of overcoming challenges in the process, shares specific code examples, and highlights community support. The author aims to fill a gap in existing documentation on this topic, particularly for users unfamiliar with Nix syntax.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →