hydra
pip2nix
hydra | pip2nix | |
---|---|---|
5 | 1 | |
1,057 | 154 | |
2.3% | 2.6% | |
8.7 | 3.2 | |
2 days ago | 6 months ago | |
Perl | Python | |
GNU General Public License v3.0 only | - |
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.
hydra
-
Cloudflare R2-Backed Nix Binary Cache on Fly.io
See https://github.com/NixOS/hydra/issues/838 for making content-addressed derivations supported by hydra.nixos.org. At that point, we can actually try out the XP feature at scale.
Also see https://github.com/NixOS/nix/issues/8919 for this accepted RFC
Once those things are done, we can get back to merging in the IPFS code.
Now that there is an Nix team and I am on it, there is much, much less of an issue of these experiments being caught in limbo :).
-
Concerns about Arch Team size, trusting Arch supply chain, developer machines and build process
https://github.com/nix-community/infra, Community project builds https://github.com/NixOS/hydra, NixOS build server
-
Monorepo Build Tools
Nix is pretty cool, and I would say comparisons to Earthly are apt. I may tackle that in a follow-up. If you did a monorepo setup written in nix and then used something like Hydra for building, it might be a pretty nice solution.
-
Nix: Taming Unix with Functional Programming
Nix seems great for build servers. This is a great introduction to the motivations behind it.
I'm not sold on using it for managing developer environments (another use case it is often used for). It "solves" the problem that developers might be using different versions of libraries or compilers on their machines... but it comes at the cost of having to learn a whole new programming language, a configuration language, a whole new jargon, and workflow. It's a bit like using Docker as a development environment. It introduces a non-trivial amount of friction.
Some folks get excited about package management and configuration. Personally I don't care for it enough to over-come such a high learning curve. And I don't particularly like the workflow it enforces.
However it is pretty great for reproducible CI/CD systems like Hydra: https://github.com/NixOS/hydra
-
How shall I install a package not found at https://search.nixos.org/packages?
Somewhat related to this, is there a good way to install something from a flake inside the configuration.nix? For example, the hydra flake, since it includes many derivations for dependencies that are not part of nixpkgs (or are at the wrong versions).
pip2nix
-
Nix: Taming Unix with Functional Programming
There are some sifferent/new tools for adding your own Python packages these days. It's still not truly solved, but one of these new package generation tools might serve your better:
poetry2nix: https://github.com/nix-community/poetry2nix
dream2nix: https://nix-community.github.io/dream2nix/guides/getting-sta...
mach-nix: https://github.com/DavHau/mach-nix
pip2nix: https://github.com/nix-community/pip2nix
pynixify: https://github.com/cript0nauta/pynixify
The tools available to you at the time (pypi2nix and maybe python2nix, if it was a long time ago) have been abandoned in favor of the newer tools, I think chiefly poetry2nix but I'm not sure.
There's still the Nixpkgs buildPythonPackage stuff, I think, if your goal is to upstream a lib into Nixpkgs. But if you just want to build your own Python applications and vendorize the deps (e.g., for work), you might try one of the tools above, which weren't available 3+ years ago. Maybe Nixy Python users and developers can reply with some of their experiences using those tools :)
What are some alternatives?
std - A DevOps framework for the SDLC with the power of Nix and Flakes. Good for keeping deadlines!
deploy-rs - A simple multi-profile Nix-flake deploy tool.
infra - nix-community infrastructure [maintainer=@zowoq]
flake-utils-plus - Use Nix flakes without any fluff.
mach-nix - Create highly reproducible python environments
awesome-nix - 😎 A curated list of the best resources in the Nix community [maintainer=@cyntheticfox]
nix-monorepo - An illustration of how you might use Nix in a large, multi-language project and in accordance with best practices
boostrap - my personal ricing setup (WIP)
slsa - Supply-chain Levels for Software Artifacts
pynixify - Nix expression generator for Python projects