-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feat: refactor nix files. #255
Conversation
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 |
258bcb4
to
bbc5b9e
Compare
This needs a rebase |
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. |
ACK 3c46836 |
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.