yarnpnp2nix
dream2nix
yarnpnp2nix | dream2nix | |
---|---|---|
3 | 9 | |
39 | 863 | |
- | 2.8% | |
6.0 | 9.6 | |
3 months ago | 4 days ago | |
Nix | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yarnpnp2nix
-
Way to get NVM working in CI/CD systems
- Node projects are far trickier if you want them to be able to share dependencies and depend on one another. We have found Yarn 4 (currently release candidate, not stable yet) in combination with https://github.com/madjam002/yarnpnp2nix to work best for this. Unfortunately we have to patch some package hashes of packages that contain platform-specific binaries (such as esbuild).
-
yarnpnp2nix: More efficient way of packaging NodeJS applications
Just wanted to share something I've been working on in case it's helpful to anyone here - https://github.com/madjam002/yarnpnp2nix
dream2nix
- Dream2nix – Automate reproducible packaging for various language ecosystems
-
flox – Harness the Power of Nix
(I'm on the flox team) we'd love to support that and it's something we've talked about! We already support auto-generation for some languages like Rust because they have a lockfile (e.g. Cargo.lock), but it's a bit trickier for a requirements.txt. We hope at some point to contribute to/integrate with upstream efforts like dream2nix which have auto-generation as their goal
-
Minimal approach for python devel environment with flake
How about dream2nix? I like to use the nix way, but there are many third nix ways
- New BFF
-
yarnpnp2nix: More efficient way of packaging NodeJS applications
I'm not 100% sure, but looking at the docs [here](https://nix-community.github.io/dream2nix/subsystems/node.html#granular-pure-default) and the implementation [here](https://github.com/nix-community/dream2nix/tree/main/src/subsystems/nodejs/builders/granular-nodejs) it seems as it builds dependencies separately and symlinks (see `install-deps.py` those into a `node_modules` tree. I don't know much about Yarn's PNP (was doing more backend/devex last few years), but it sounds vaguely similar in that each package should be built once as a separate derivation and then symlinked to a big `node_modules`-as-a-symlink-tree derivation?
-
How do you build NodeJS project in Nix? 2022
How are you building your NodeJS project with Nix right now? Recently I spot a new abstraction, it looks good but I havn't tried it yet: https://github.com/nix-community/dream2nix
-
dream2nix - include a test run? (node project)
dream2nix is a great package, that makes a nix-derivation out of node project with the minimal flake
-
Why aren't systems like NixOS and GNU Guix more popular?
The DavHau/dream2nix project aims to be a generic solution for this issue by splitting the problem into specific stages, each of which can be configured individually (e.g., changing the level of purity)
- Betting on Nix
What are some alternatives?
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
flake-registry - Global registry of Nix flakes
gomod2nix - Convert applications using Go modules to Nix expressions [maintainer=@adisbladis]
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
cargo2nix - Granular builds of Rust projects for Nix
nix-npm-buildpackage - Build nix packages that use npm/yarn
nix2container - An archive-less dockerTools.buildImage implementation
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
nixpkgs - Nix Packages collection & NixOS
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
system - My NixOS configuration