nix-template
templates
nix-template | templates | |
---|---|---|
4 | 10 | |
202 | 365 | |
- | 3.3% | |
2.1 | 6.0 | |
9 months ago | 22 days ago | |
Rust | Nix | |
Creative Commons Zero v1.0 Universal | 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.
nix-template
- How do I get the sha256 for a package to use in fetchFromGithub command ?
-
Have you heard of NixOS/template?
Shameless plug, but related: https://github.com/jonringer/nix-template
- Nix-template: Make creating nix expressions easy
-
How to Learn Nix
It sounds like https://github.com/jonringer/nix-template might be helpful to you. You can generate a nix expression to build an autotools package, and you can even pull the package info straight from a public repo. In the case of nix, most C-type things fall under stdenv, so that is the template you would want to use.
I barely write any C, but I've gotten very good at building C/C++ applications over the past couple of weeks by fixing broken derivations ahead of a release.
templates
-
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?
lorri - Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
nix-templates - Nix Flake templates for various languages
nixos-mailserver
nix-flake-templates
nix-gui - Use NixOS Without Coding
pypi-deps-db - Dependency DB for python packages on pypi
dhall-lang - Maintainable configuration files
mach-nix-template - Simple and straight-forward way to create python environments using PyPi in nix
nurl - Generate Nix fetcher calls from repository URLs [maintainer=@figsoda]
nixpkgs - Nix Packages collection & NixOS
nonguix - Nonguix mirror – pull requests ignored, please use upstream for that
awesome-nix - 😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]