nix-beam-flakes
Nix-based BEAM toolchain management (by shanesveller)
templates
Flake templates (by NixOS)
nix-beam-flakes | templates | |
---|---|---|
1 | 10 | |
36 | 369 | |
- | 4.6% | |
9.2 | 6.0 | |
2 months ago | about 1 month 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.
templates
Posts with mentions or reviews of templates.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
-
What does the function `nixpkgs.lib.nixosSystem` do?
Unless you want to handwire something together or use another higher level function from some 3rd party library, your want to use this function. It is basically the entrypoint to a flake based nixos system configuration. See https://github.com/NixOS/templates/blob/master/simple-container/flake.nix for an example.
- Would it make sense to start a repo which contains some "standard" flake.nix files for various types of projects?
- Have you convinced anyone to use Nix or NixOS? Friends? Coworkers?
-
Why can't things "just work" on NixOS?
There are some templates on the official repository. https://github.com/NixOS/templates You can find others on github.
-
Big list of Flakes tutorials
Don’t forget about the official templates. Built right into the CLI https://github.com/NixOS/templates
-
Nix flake --impure segfaults
I am new to nix, and even newer when it comes to using flakes. I was trying out the following simple flake (based on this template), which just terminates with a segmentation fault whenever I use --impure flag (e.g. nix develop --impure)
-
Help me understand how to install something that isn't in the official nixpkgs
You would probably want to use flakes. There is NixOS/templates repo with flake templates. Take a look at go-hello one.
-
I created a super simple flake.nix template so you can finally use python painlessly in your nix projects. Just copy a few lines over into your flake.nix and you can use all of PyPi :)
You should consider adding this as a template to https://github.com/nixos/templates.
- Have you heard of NixOS/template?
What are some alternatives?
When comparing nix-beam-flakes and templates you can also consider the following projects:
treefmt-nix - treefmt nix configuration
nix-templates - Nix Flake templates for various languages