Skip to content

Hash mismatch #32

@CrystalKeck27

Description

@CrystalKeck27

I'm new to NixOS so please take everything I say and do with a grain of salt.

I just tried to use this flake, but on rebuild I ran into this error:

error: hash mismatch in fixed-output derivation '/nix/store/fj7093nqfbrm2q7k2fg35bw6nianfs7f-digilent.adept.runtime_2.27.9-amd64.deb.drv':
         specified: sha256-T8e+YnYUJMWswpgPb1C1GXagCZe9tURj9y3tvWs2Kus=
            got:    sha256-yKLM8tnqH/oPOkrk7S/2kKBof/gzgrYtrjD6ExmLv1M=

It seems that the adept runtime has been updated without changing the version, or something along those lines.

I was able to successfully install waveforms by forking this repo and manually changing the hash in data/packages.json.

Now, as previously stated, I am no NixOS expert, but I have two ideas for a solution:

  1. Allow users to override the hash in their own nix configs.
  2. Update the scraper to refresh the hashes too.

I'll look into the viability of the first solution on my own as I feel it would be a good way to learn the nix language. I leave it up to you if you want to update the scraper.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions