mach-nix-template
templates
mach-nix-template | templates | |
---|---|---|
7 | 10 | |
67 | 369 | |
- | 4.6% | |
0.0 | 6.0 | |
over 1 year ago | about 1 month 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.
mach-nix-template
-
Struggling with Python dependencies conflicts and NixOS
Hi! Yes, there is a solution to your problem! I used my popular project mach-nix-template to generate a python-environment.
-
Python Flake and Direnv
This happened, because you only copied the text from the flake.nix file you found here. You did not copy over the flake.lock file, which stores information about what version of nixpkgs and other dependencies your software uses. This led to an incompatibility. I am sorry, I forgot to mention that the flake.lock file needs to be present as well. I updated the readme accordingly.
-
Can't use pip to install packages
Hey, I had the same issues as you. Therefore I created the following nix flake: https://github.com/Quoteme/mach-nix-template
-
Development shell with pros-cli available
I started with this template.
- 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 :)
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?
pypi-deps-db - Dependency DB for python packages on pypi
nix-templates - Nix Flake templates for various languages
scan-build - Clang's scan-build re-implementation in python
nix-flake-templates
mach-nix - Create highly reproducible python environments
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
nix-template - Make creating nix expressions easy
nialov-py-template - My opionated copier template for Python development.
nixpkgs - Nix Packages collection & NixOS
awesome-nix - 😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
nix-flake-templates - Collection of templates for flake based projects.