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

flake-info: use saner nix packaging method #344

Closed
wants to merge 1 commit into from

Conversation

andir
Copy link
Member

@andir andir commented Aug 23, 2021

When trying to first work in this I naive approached it with
nix-shell. That of course lead to the fixed output bollocks failing
with a hash mismatch. By making use of the cargoLock attribute on
buildRustPackage we can tame the FOD-beast and only have to provide
one hash manually for a single package (that we fetch from a GitHub
repository).

This also means that updating dependencies will be simpler as the native
Cargo.lock file can be used.

When trying to first work in this I naive approached it with
`nix-shell`. That of course lead to the fixed output bollocks failing
with a hash mismatch. By making use of the `cargoLock` attribute on
`buildRustPackage` we can tame the FOD-beast and only have to provide
one hash manually for a single package (that we fetch from a GitHub
repository).

This also means that updating dependencies will be simpler as the native
Cargo.lock file can be used.
@ysndr
Copy link
Member

ysndr commented Aug 25, 2021

This change was cherry picked and merged in #324

@ysndr ysndr closed this Aug 25, 2021
@andir andir deleted the flake-info-expression branch August 25, 2021 22:51
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.

2 participants