Skip to content

Conversation

@jaoleal
Copy link
Collaborator

@jaoleal jaoleal commented Oct 11, 2024

Fixes #253.

The problem with our nix was rust override.

After thinking a bit, its far from normal to a rust developer use more than a version of rust, so i delegated rust version control directly to rustup since it does the job better while doing development(nix-shell). just was added as a dev tool too

The build.nix had some overrides too, so i updated some meta-data and forced nix to pull rust version directly from rust-toolchain.toml. Now its easier to change dependencies.

@jaoleal
Copy link
Collaborator Author

jaoleal commented Oct 11, 2024

I would like to take a different approach to how we build floresta in build.nix.

Like we do now, we have to manually change info like version, which are important to be updated every new release
the solution would be would be fetchCrate but were not in crates.io.

@jaoleal jaoleal marked this pull request as ready for review October 11, 2024 19:52
@jaoleal jaoleal force-pushed the updatenix branch 2 times, most recently from 258bcb4 to bbc5b9e Compare October 21, 2024 15:23
@Davidson-Souza
Copy link
Member

This needs a rebase

@jaoleal
Copy link
Collaborator Author

jaoleal commented Oct 21, 2024

Rebased.

Reviewing the changes.

Some readme update about nix.

refactor on build.nix to receive a version of rust for building and updating info like version and maintainers.

refactor on flake.nix disabling the version overriding (provides rustup instead of a specific version of the rustc and cargo toolchain.) and adding Just to the nix-shell.

@Davidson-Souza
Copy link
Member

ACK 3c46836

@Davidson-Souza Davidson-Souza merged commit 6a286a6 into vinteumorg:master Oct 21, 2024
6 checks passed
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.

Fix: nix dev shell

2 participants