flake-parts
std
Our great sponsors
flake-parts | std | |
---|---|---|
5 | 5 | |
586 | 357 | |
9.0% | 4.5% | |
7.5 | 9.0 | |
14 days ago | 30 days ago | |
Nix | Nix | |
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.
flake-parts
-
Nix is a better Docker image builder than Docker's image builder
There are attempts like
https://flake.parts/
or
https://github.com/nix-community/flakelight
Their aim is to create an ecosystem of reusable Nix libraries. But it is tiny.
-
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.
-
I'm getting on the hype train. What do you recommend to beginner?
Definitely use flakes from the get-go. It's much more sane. Nix's documentation can be unorganized, but read through it when you can. Modules and other projects tend to have their own documentation as well, like Home Manager and flake-parts
-
Why you don't need flake-utils
That's not a typo, there OP is referring to https://github.com/hercules-ci/flake-parts
std
-
Nix is a better Docker image builder than Docker's image builder
Newcomer here. Could anyone tell if std [0] is a good way to bring more sanity into flake design, esp. in avoiding ivory towery custom approaches? Using devenv.sh is another option, but I liked emphasis on having a common mental picture and focus on SLDC that std provides.
[0] https://std.divnix.com
-
Show HN: Flox 1.0 – Open-source dev env as code with Nix
Agreed on the experience, hard to onboard. I looked at devenv.sh as easier way to get going. Implemented all with Nix, less lock-in. Just found std [0] and that quote looks promising too.
[0] https://std.divnix.com/
-
NixOS + Haskell best practices circa March 2023
std/paisano for large projects.
- Std: The Nix Flakes framework for perfectionists with deadlines
- Nix: Taming Unix with Functional Programming
What are some alternatives?
nix-beam-flakes - Nix-based BEAM toolchain management
deploy-rs - A simple multi-profile Nix-flake deploy tool.
dev-templates - Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]
awesome-nix - 😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
treefmt-nix - treefmt nix configuration
hydra - Hydra, the Nix-based continuous build system
nvfetcher - Generate nix sources expr for the latest version of packages
poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]
haumea - Filesystem-based module system for Nix [maintainer=@figsoda]
adcomp - AD computation with Template Model Builder (TMB)
nixt - Simple unit-testing for Nix [maintainer=@Lord-Valen]
nixpkgs - Nix Packages collection & NixOS