2025-08-05 20:59:34 +07:00
|
|
|
# Deno with packages
|
|
|
|
|
|
2025-09-15 13:25:39 +07:00
|
|
|
This flake [part](flake.parts) provides utilities for managing Deno dependencies with Nix.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
|
2025-08-05 20:59:34 +07:00
|
|
|
- reading multiple lock files
|
|
|
|
|
- creating a derivation per Deno dependency
|
|
|
|
|
- combining those into a single derivation
|
2025-09-15 13:25:39 +07:00
|
|
|
- wrapping `deno` executable to have it install the cache
|
|
|
|
|
- keeping cache in `<flake root>/.deno_cache`
|
2025-08-05 20:59:34 +07:00
|
|
|
|
|
|
|
|
Currently only NPM dependencies are recognized.
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
2025-09-15 13:25:39 +07:00
|
|
|
See `example/flake.nix`
|