sha256 mismatch while building from default.nix
akirak opened this issue · comments
cargoSha256
in default.nix
seems to mismatch the current snapshot. I am unable to install the program using nix now.
Possibly fixed by #5, but do you need fetchGit
in src = builtins.fetchGit ./.;
? If you use src = ./.
, the sha will be different.
The use of gitignore would be a good idea. You can use niv
to manage dependencies. See nix-hello-world for example.
@akirak I believe I have fixed that issue now as I've been testing. And I tried to use Niv but ran out of motivation since this tool inherently cannot pin nixpkgs due to its dependency on the system Nix version and I didn't want to figure out how to not do so.
I have fixed both this and the thing I was complaining about in my comment so they will never happen again by rewriting our nix expressions :)
Thanks, it's a great work!