SaaSHub helps you find the best software and product alternatives Learn more →
Top 6 Nix Cargo Projects
-
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Project mention: Posta: Building a Social Blogging Backend with SurrealDB, Nix, and Nushell | dev.to | 2025-05-13While doing research for these projects I came across some small bugs in another project. I made the fixes and opened some PRs which were accepted.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
-
> Since package builds of node/python/ruby packages depend on stuff outside of the package dir in the tree, you need that mapping between versions and commits.
> Using nix without nixpkgs may be fine for more scoped use but seems hard to justify for a platform like Railway.
Nixpkgs isn't all-or-nothing. You're right that Nixpkgs itself rarely packages more than one version of something, but the standard approach for "language package managers" is that you use a tool like crate2nix[0] which automatically generates pinned derivations for all of your dependencies.[1] For system dependencies which aren't covered by your language package manager.. you're basically in the same position as for something like Debian: you can either pull it from Nixpkgs (and give up control beyond "which Nixpkgs am I on?") or you can write/fork your own package. Or you can pull specific packages from specific Nixpkgs checkouts and splice them into your "main" Nixpkgs version as an overlay (though this is definitely getting into the Weird Territory(tm)).
[0]: https://github.com/nix-community/crate2nix
[1]: For example: https://github.com/stackabletech/secret-operator/blob/30f0eb...
-
-
-
Nix Cargo discussion
Nix Cargo related posts
-
Embrace the Power of Nix for Your Python + Rust Workflow
-
Help with building a 32bit library with cargo
-
Rust cross-compilation without struggles by using the nixpkgs-cross-overlay
-
How to package a Rust app using Nix
-
Nix shell related questions (for rust)
-
How to setup devShell for rust development with bevy?
-
Nix & Rust - cargo2nix 0.11.0 released
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Jun 2025