Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn this repository into a Nix flake #26

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Turn this repository into a Nix flake #26

wants to merge 5 commits into from

Conversation

btlogy
Copy link
Member

@btlogy btlogy commented Jun 18, 2024

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...

Likely facing a reproduciblity issue with mockgen to create code at
build time!

Signed-off-by: Benoit Donneaux <[email protected]>
@btlogy btlogy self-assigned this Jun 18, 2024
@btlogy btlogy added enhancement New feature or request help wanted Extra attention is needed labels Jun 18, 2024
@btlogy
Copy link
Member Author

btlogy commented Jun 18, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Turn this repository into a Nix flake
1 participant