Skip to content

Conversation

@Pacman99
Copy link
Contributor

So that scrolls can be built with nix build and accessible by other projects using nix, namely cardano-world.

cc @blaggacao

@Pacman99 Pacman99 requested a review from scarmuega as a code owner June 23, 2022 20:22
@scarmuega
Copy link
Member

scarmuega commented Jun 23, 2022

hi @Pacman99, this is awesome! I'm not a nix expert, but it LGTM.

My only concern / question is: how do we keep in sync the version of the Rust crate declared in the cargo.toml file with the version declared in the flake? Do you know if there's a way to automate it?

I would like to avoid as much manual steps required for publishing a new version.

@Pacman99
Copy link
Contributor Author

That is a great point, I just updated the flake to use the nix crane library, which imports the cargo toml and lock file to build the package. Now nothing has to be updated on the nix side!

@scarmuega scarmuega merged commit 9b9ce2a into txpipe:main Jun 24, 2022
@blaggacao
Copy link

one of the smallest flakes I've seen 🚀 👍

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

Successfully merging this pull request may close these issues.

3 participants