Skip to content

i can't make cabal install build and install the pandoc executable  #8874

@cartazio

Description

@cartazio
carterschonwald@CarterHydra ~/D/cabal-install-3.10.1.0-aarch64-darwin [1]> ./cabal install pandoc -fembed_data_files
Resolving dependencies...
Warning:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: Installation might not be completed as desired! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The command "cabal install [TARGETS]" doesn't expose libraries.
* You might have wanted to add them as dependencies to your package. In this
case add "pandoc, pandoc" to the build-depends field(s) of your package's
.cabal file.
* You might have wanted to add them to a GHC environment. In this case use
"cabal install --lib pandoc pandoc". The "--lib" flag is provisional: see
https://github.com/haskell/cabal/issues/6481 for more information.

in previous versions of cabal-install, i'd maybe get a message about needing to set --overwrite=always but I see no hinting about how to install pandoc.

so i need to reference exe:pandoc or some other naming mechanism to say "give me the executable"?

in case this isn't clear, i'm seeing this with both prebuilt and nonprebuilt cabal install.

its worth mentioning that in a previous step ran the command cabal install pandoc --only-dep to just build all the libraries it would need. could that have interacted poorly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    re: error-messageConcerning error messages delivered to the userre: user experienceUser experience (UX) issueresolution: invalidNot an issue (error on the side of the reporter)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions