-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I am trying to use this as a dependency for a project I am building with Nix, but unfortunately the compilation fails for v0.5.2 (works fine with v0.5.0)
The problem seems to be from the from the vsn
function in mix.exs
.
This is the log:
error: builder for '/nix/store/498xcjv002wcm4b61lv9ib5fs8cgzf6a-mix-release-metadata-0.0.1.drv' failed with exit code 1;
last 10 log lines:
> updateAutotoolsGnuConfigScriptsPhase
> configuring
> Error while loading project :typedstruct at /build/deps/typedstruct
> ** (RuntimeError) Cannot determine application version!
> /build/deps/typedstruct/mix.exs:144: TypedStruct.MixProject.vsn/0
> /build/deps/typedstruct/mix.exs:8: TypedStruct.MixProject.project/0
> (mix 1.15.7) lib/mix/project.ex:938: Mix.Project.get_project_config/1
> (mix 1.15.7) lib/mix/project.ex:205: Mix.Project.push_config/2
> (mix 1.15.7) lib/mix/project.ex:168: Mix.Project.push/3
> (stdlib 5.1.1) lists.erl:1594: :lists.foldl/3
For full logs, run 'nix log /nix/store/498xcjv002wcm4b61lv9ib5fs8cgzf6a-mix-release-metadata-0.0.1.drv'.
I am fetching the dependencies with fetchMixDeps
and using them as parameter for mixRelease
as described in the manual
dluksza, nifoc and jeffdeville
Metadata
Metadata
Assignees
Labels
No labels