Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Can't publish preprocessor packages due to the transitive Neotoma dependency #186

@pepicrft

Description

@pepicrft

First of all, thanks for this great project. I'm new to the Elixir ecosystem and Still was one of the first tools I played with. I've implemented a pre-processor to support .scss style files, but I can't push it to the Hex package registry due to the following error:

** (Mix) Can't build package with overridden dependency neotoma, remove `override: true`

Which happens because I had include the neotoma dependency in the deps function of my project to force Mix to use rebar3:

{:neotoma, "~> 1.7", manager: :rebar3, override: true}

Removing it leads to this other error due to dependency incompatibilities:

Unchecked dependencies for environment dev:
* neotoma (Hex package)
  the dependency neotoma in mix.exs is overriding a child dependency:

  > In mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, repo: "hexpm", hex: "neotoma"]}

  > In deps/slime/mix.exs:
    {:neotoma, "~> 1.7", [env: :prod, hex: "neotoma", repo: "hexpm", optional: false]}

  Ensure they match or specify one of the above in your deps and set "override: true"

Am I right understanding that a solution to this problem comes down to configuring the neotoma dependency to build with rebar3?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions