This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Description
As far as I can tell, go2nix save only uses nix-prefetch-git to get a hash for some things:
|
func calculateHash(url, pathType string) (hash string) { |
It doesn't actually need the files to end up in the store? So it would be nice if it would just use nix-hash directly and that would mean it would be possible to run in a nix sandbox I think?
Edit: or be able to call nix-prefetch-git without needing to poke the store.
The actual error in question: Command /nix/store/8adaygqps8a6vivrwb2d5l57lz5gnxwr-nix-prefetch-git/bin/nix-prefetch-git [nix-prefetch-git --fetch-submodules file:///build/src/the.domain/go/some-project] failed: exit status 1