Open CMCDragonkai opened 6 years ago
It tries to find out what's the version of your package by looking for git history. So it should be git controlled at the moment.
Is this what causes Error while creating repo for /build/src/some.domain/go/some-project: Unable to retrieve local repo information
?
Though I'm a bit confused by that message because I'm pretty sure my package is a git repo, but I'm still debugging.
Ok I'm trying to use go2nix save
on a repository acquired via fetchgit
and the .git
looks kind of odd.
Edit: fetchgit results in some kind of strange .git
. Also apparently there can be determinism issues if one keeps the .git
, which makes sense because it could contain other branches and such. I solved the problem temporarily by just using normal git to get the repo I needed.
The readme seems to imply that the code that you're packaging up needs to be a git repository? Can it be brought in otherways? I may have just a directory under
src
, and that is not a git repository.