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

Building Prod Server failing for Generated.* modules. #2006

Open
Montmorency opened this issue Oct 17, 2024 · 0 comments
Open

Building Prod Server failing for Generated.* modules. #2006

Montmorency opened this issue Oct 17, 2024 · 0 comments

Comments

@Montmorency
Copy link
Contributor

While using the latest pro build nix run .#unoptimized-prod-server

[version=00ed1dc984e81d9bade4583377dc8082f79edf54]

I noticed I was getting on Github Actions:

error: builder for '/nix/store/961fc2kgrb7ldrxh2j3ihviipmsspgal-app-schema.drv' failed with exit code 1;
       last 25 log lines:
       >     Use -v to see a list of the files searched for.
       >    |
       > 96 | import Generated.GapsAndMitigation
       >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       >
       > build/Generated/Types.hs:97:1: error: [GHC-87110]
       >     Could not find module `Generated.GapsAndMitigationInclude'.
       >     Use -v to see a list of the files searched for.
       >    |
       > 97 | import Generated.GapsAndMitigationInclude

i.e. the autogenerated data structures stored in .hs files for some tables in my schema can't be found on the path.

I’ve reverted to pro version=5b3b91f1564e3e97298b33feffaccc886a333d16 and the build was successful. It is not necessarily triggered by particular tables seems more likely to be a nix related issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant