Closed rohanssrao closed 4 months ago
This is awesome
Looks fine to me. Nice that you figured how to get this working. It's just a bit annoying having to mention the sha256 hash here, especially so since I'm not getting the same hash for config.js on Windows. Not sure what that's about... Fortunately config.js rarely changes.
It's just a bit annoying having to mention the sha256 hash here
Yeah, it's a consequence of reproducibility. What's nice though is that if the hash changes, Nix will tell you the correct hash in its error message, so it's trivial to fix.
For example:
error: hash mismatch in file downloaded from 'https://raw.githubusercontent.com/MrOtherGuy/fx-autoconfig/master/program/config.js':
specified: sha256:0mx679fbc4d9x4bnqajqx5a95y1lfasvf90pbqkh9sm3ch945p40
got: sha256:1mx679fbc4d9x4bnqajqx5a95y1lfasvf90pbqkh9sm3ch945p40
Resolves #45