Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failing with cargo-release's pre-release-replacements #222

Open
pinage404 opened this issue Dec 28, 2021 · 0 comments
Open

failing with cargo-release's pre-release-replacements #222

pinage404 opened this issue Dec 28, 2021 · 0 comments

Comments

@pinage404
Copy link

Hello,

TL;DR How to use Naersk with a crate that use cargo-release's pre-release-replacements ?


to release a crate, i use cargo-release

to automatically update some files while releasing, i am using cargo-release's pre-release-replacements

i am trying to Nixify this crate with Nix Flake and Naersk

but it fails to parse Cargo.toml with this error

cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
error: failed to parse manifest at `/build/dummy-src/Cargo.toml`

Caused by:
  could not parse input as TOML

Caused by:
  expected an equals, found a colon at line 7 column 64
[naersk] cargo returned with exit code 101, exiting

to try by yourself, i isolated the problem with a test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant