Skip to content

sdist fails with non-installed custom-depends: #4293

Closed

Description

@phadej
$ cabal sdist
[1 of 1] Compiling Main             ( dist/setup/setup.hs, dist/setup/Main.o )
dist/setup/setup.hs:1:1: error:
    Failed to load interface for ‘Distribution.Extra.Doctest’
    Use -v to see a list of the files searched for.

Do we need cabal new-sdist?

Activity

  1. phadej commented on Feb 3, 2017

    @phadej
    CollaboratorAuthor

    Or is there some workaround (the dependency is in store), or how to say to sdist "Don't configure" / "Pretend build-type: Simple".

  2. added
    cabal-install: v2-build system
    on Feb 3, 2017
  3. 23Skidoo commented on Feb 3, 2017

    @23Skidoo
    Member

    Do we need cabal new-sdist?

    Probably yes.

  4. 23Skidoo commented on Feb 3, 2017

    @23Skidoo
    Member

    or how to say to sdist "Don't configure" / "Pretend build-type: Simple".

    I don't think there is a way to do this now, but it should be possible to add by tinkering with D.S.SetupWrapper.

  5. ezyang commented on Feb 4, 2017

    @ezyang
    Contributor

    Workaround should be to set builddir to new-build's created dist directory.

  6. added a commit that references this issue on May 5, 2017
  7. self-assigned this
    on Aug 7, 2017
  8. RyanGlScott commented on Mar 8, 2018

    @RyanGlScott
    Member

    It should be noted that this issue prevents the gl package from using new-build entirely.

  9. removed their assignment
    on Mar 13, 2018
  10. self-assigned this
    on Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Cabal: customcabal-install: v2-build systempriority: high 🔥type: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions