nix-community / crate2nix

rebuild only changed crates in CI with crate2nix and nix
https://nix-community.github.io/crate2nix/
Apache License 2.0
338 stars 82 forks source link

`CARGO_MANIFEST_LINKS` environment variable missing in build environment #300

Closed MangoIV closed 8 months ago

MangoIV commented 9 months ago

I have a dependency that looks at CARGO_MANIFEST_LINKS env var (within build.rs) but this is not set withing the build environment that is generated by crate2nix. As it is available when building with cargo, I think it should be set by the cargo2nix build environment as well.

jamessewell commented 8 months ago

I'm seeing this as well, any idea how you would fix this?