oxalica / nocargo

[alpha] Build Rust crates with Nix Build System.
MIT License
138 stars 9 forks source link

Package CoreFoundation-sys is not found in index #9

Closed lelongg closed 2 years ago

lelongg commented 2 years ago

I'm trying to use nocargo to compile a crate from a workspace using serialport on linux.

This crate add the following entry to Cargo.lock.

[[package]]
name = "CoreFoundation-sys"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0e9889e6db118d49d88d84728d0e964d973a5680befb5f85f55141beea5c20b"
dependencies = [
 "libc",
 "mach 0.1.2",
]

This does not prevent classic builds from succeeding but nocargo fails with error: Package CoreFoundation-sys is not found in index.

Minimal reproduction example: https://github.com/lelongg/nocargo-issue-9

oxalica commented 2 years ago

Fixed in c2ec828a219fba1a8d65040aadff74318513e40b