nix-beam-flakes
Nix-based BEAM toolchain management (by shanesveller)
flake-parts
❄️ Simplify Nix Flakes with the module system (by hercules-ci)
nix-beam-flakes | flake-parts | |
---|---|---|
1 | 5 | |
36 | 611 | |
- | 8.0% | |
9.2 | 7.1 | |
2 months ago | 12 days ago | |
Nix | Nix | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
nix-beam-flakes
Posts with mentions or reviews of nix-beam-flakes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-25.
-
Would it make sense to start a repo which contains some "standard" flake.nix files for various types of projects?
I left it vague because I didn't want to seem self-promotional. Unmerged documentation branch is the best starting place here: README, docs folder of that branch, example from develop. I daily drive it at work, and on a personal project for about 8 months. Doesn't do well for monorepos with disparate BEAM versions yet, but there are escape hatches and usage-as-library too. For the typical Phoenix project with a few extra system deps it's a pretty good onramp. perSystem.beamWorkspace.devShell.extraPackages is how you add arbitrary buildInputs like your VIPS stuff and .extraArgs for additional arguments to mkShell, such as your non-sensitive envvars. There's a page for future goals too. Publishing the rendered docs as a static site is in my TODOs, it's mostly glue left.
flake-parts
Posts with mentions or reviews of flake-parts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-15.
-
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
What are some alternatives?
When comparing nix-beam-flakes and flake-parts you can also consider the following projects:
templates - Flake templates
dev-templates - Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]
treefmt-nix - treefmt nix configuration
fenix - Rust toolchains and rust-analyzer nightly for Nix [maintainer=@figsoda]
nvfetcher - Generate nix sources expr for the latest version of packages
templates - Nix flake templates managed by the community [maintainer=@IogaMaster]
haumea - Filesystem-based module system for Nix [maintainer=@figsoda]