Skip to content

Conversation

@razielgn
Copy link
Contributor

10.7.0 broke invoking mix sentry.package_source_code during a build using nix (xkcd 1172 😂 )

That's because inside the nix build env, running loadpaths and compile must be avoided because all deps are already compiled separately and loaded read-only via env vars.

These flags are somewhat "standard" and used in various phoenix/ecto tasks:

…ckage_source_code` task

This is useful when building releases using alternative tools.
For example, this is important with `nix`, where dependencies are fetched,
compiled and symlinked without going through `mix`.
@razielgn razielgn force-pushed the fix-package-source-code-task branch from 6877401 to ceeea69 Compare August 26, 2024 14:02
@whatyouhide whatyouhide merged commit e40e9a8 into getsentry:master Aug 26, 2024
@razielgn
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants