crate2nix
crate2nix copied to clipboard
rebuild only changed crates in CI with crate2nix and nix
`cargo doc` doesn't behave nicely in the Nix sandbox, since it's basically a kind of build; it'd be nice to have support for something similar in crate2nix (including building docs...
This project looks awesome. What do you think about adding it to nixpkgs itself? We could also replace carnix with it and add documentation to `doc/languages-frameworks/rust.section.md`
I have a project that depends on OpenSSL (indirectly through `git2`) (repo [here](https://github.com/vbrandl/hoc/tree/feature/nix-build)). It builds fine but at runtime I get an error from libgit2 which indicates that indicates that...
I think it makes sense to think about the goals of `crate2nix` and the other two projects providing nix build support to rust. Then we can maybe converge or find...
`tools.nix` is already used intensively in the integration tests and allows to run `crate2nix` in a derivation. Advertise this nice feature!
Especially useful for small, self-contained binaries in docker images.
When running `crate2nix generate` currently the tool appears to be prefetching the dependencies sequentially and struggles to saturate the bandwidth. Parallelizing (or making it asynchronous scatter-gather) would speed up this...
The `cc` crate, very commonly used in `build.rs` scripts supports parallel compilation, however it appears that within nix it will only end up using 1 job regardless of any other...
I'm trying to package https://github.com/input-output-hk/js-chain-libs which requires that I run `wasm-pack build` and `wasm-pack pack` inside the derivation. It seems like `wasm-pack` invokes `cargo build --lib --release --target wasm32-unknown-unknown`, which...
What I did: - It seems that Nix prior to 2.5 (instead of 2.3) can’t fetch submodules with builtins.fetchGit. (from my own experience), which caused the tests to fail for...