Psionic K

Results 227 comments of Psionic K

Definitely our fault. https://github.com/cargo2nix/cargo2nix/blob/release-0.11.0/src/template.rs#L34 Going to figure out what the profile is used for and make it work without potentially failing in this conversion.

the `check-cargo-lock-hash` branch has an implementation. Thinking of adding overlay version check, also in Nix eval.

Reminder to augment the current check to also record the Cargo.toml situation. While cargo would pick up on the toml change and update the lock, cargo2nix will not, meaning you...

Let's try to outsource fetching from one of the other projects. `cargo2nix` should focus on it's builder / translation (borrowing dream2nix terminology)

Tests can evidently use a git repo masquerading as a registry, supporting enough to fetch the crate and index https://doc.rust-lang.org/cargo/reference/registries.html#using-an-alternate-registry

``` pkgs = import nixpkgs { inherit system; crossSystem = { config = "x86_64-unknown-linux-musl"; }; overlays = [ (import "${cargo2nix}/overlay") rust-overlay.overlay ]; }; ``` Works in release-0.9.1 branch. You can...

See #214 to get some ideas. I would feel more comfortable if something broke. It's a black box to me until I spend more time on all the host offsets....

#214 is just about complete. If you can provide a bare metal example, I can probably get it to build with an arbitrary target. Something I need some examples for...

> How do I pick the arch without having nix flip out about choosing which gcc to use? Don't _depend_ on gcc for that host -> target. This is really...

Also add a shortcut for the workspace crates, another common case