tahoe-lafs / trac2gitea

Utility for migrating Trac projects into Gitea.
GNU General Public License v3.0
0 stars 0 forks source link

Turn this repository into a Nix flake #26

Open btlogy opened 2 weeks ago

btlogy commented 2 weeks ago

Closes #25

Does not build, but devShell works Likely facing a reproduciblity issue with mockgen to create code at build time! Also: we'd better figure how to CI this with GitHub...

btlogy commented 2 weeks ago

Same as discovered locally before, the Nix build fails on this missing mocking code:

> Running phase: checkPhase
> # github.com/stevejefferson/trac2gitea/importer
> importer/setup_test.go:12:2: cannot find module providing package github.com/stevejefferson/trac2gitea/accessor/mock_gitea

That's where I need to dig into the different phases where we might have to pull a mockgen deps and run it before the checkPhase (ping @hacklschorsch).