dream2nix
npt
dream2nix | npt | |
---|---|---|
9 | 4 | |
863 | 24 | |
2.8% | - | |
9.6 | 4.4 | |
4 days ago | 12 months ago | |
Nix | Rust | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
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
npt
-
Nix noob question
You can also just install flakes doing nix profile install . I wrote a tool to make it a bit easier, npt but it's completely optional. Once you install the packages with nix profile. Then in your repos you can use a flake with a devShell and run nix develop. Check https://flake.parts to write your flakes.
-
flox – Harness the Power of Nix
I've been working in something similar https://github.com/woile/npt but it's in much earlier stages.
-
Nix journey part 2: replacing apt and brew
Me too! That's why I wrote the small wrapper on nix to install imperatively, the npt, which gets the job done, though an official alternative would be better. I understand nix side, but it's hard to break old habits, and not only that, it would be ideal if I can install nix at my parents, and let them use a simple tool with nix underneath. This means for me, focusing only on nix.
-
Dotfiles Management
I've just (literally a few hours ago) started a tool trying to follow those principles.
https://github.com/woile/npt
I still don't know if it's worth, I have to experiment a bit more with it
What are some alternatives?
flake-registry - Global registry of Nix flakes
filetailor - Copy and modify plain text files between devices without templates
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
dot-git - Managing your dotfiles the Git Way™
nix-npm-buildpackage - Build nix packages that use npm/yarn
configs - Dot-files among other configs
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
dotfiles - dotfiles + debian setup
nixpkgs - Nix Packages collection & NixOS
capacitor
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
dotfiles - A modern Zsh/tmux, Vim and Homebrew centric setup for macOS and Linux