Our great sponsors
-
-
It uses the oxalica overlay instead of the nixpkgs, mainly because I couldn't get rust-analyzer (required by the VSCode extension; see .vscode/ folder) working with the nixpkgs version.
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]
sounds exactly like what naersk does. naersk doesn't need a cargSha256 argument since it downloads dependencies from Cargo.lock. it can also grab the version number from Cargo.toml
-
You can also use https://github.com/nix-community/home-manager to manage your dotfiles the Nix way.
-
Thanks for the post. I'm having trouble nixifying https://github.com/sayanarijit/xplr. Hopefully this post will help. Btw, does anyone know any github actions alternative?
-
I like the way crate2nix works. I have made a flake template for it here. Sometimes it requires a couple of overrides to fix some misbehaving crates (see https://github.com/balsoft/simple-osd-daemons/blob/master/flake.nix#L29 for an example of such overrides), but otherwise it's fantastic. It doesn't require any hash nonsense, it downloads and builds all the crates separately (unlike naersk or other solutions) so you get all the benefits of Nix (reproducibility and proper caching).
-
I like the way crate2nix works. I have made a flake template for it here. Sometimes it requires a couple of overrides to fix some misbehaving crates (see https://github.com/balsoft/simple-osd-daemons/blob/master/flake.nix#L29 for an example of such overrides), but otherwise it's fantastic. It doesn't require any hash nonsense, it downloads and builds all the crates separately (unlike naersk or other solutions) so you get all the benefits of Nix (reproducibility and proper caching).
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
I like the way crate2nix works. I have made a flake template for it here. Sometimes it requires a couple of overrides to fix some misbehaving crates (see https://github.com/balsoft/simple-osd-daemons/blob/master/flake.nix#L29 for an example of such overrides), but otherwise it's fantastic. It doesn't require any hash nonsense, it downloads and builds all the crates separately (unlike naersk or other solutions) so you get all the benefits of Nix (reproducibility and proper caching).
-
++ crate2nix generate -f ./Cargo.toml -o Cargo-generated.nix -h /nix/store/nzvk2yxgmcz0jkzpwsgl4wpvq43646pr-himalaya-crate2nix/cra> Error: while retrieving metadata about ./Cargo.toml: Error during execution of `cargo metadata`: error: no matching package named > location searched: registry `https://github.com/rust-lang/crates.io-index` required by package `himalaya v0.2.2 (/build/source)`
-
cargo2nix