Skip to content

cabal-install-3.0 requires --installdir option which doesn't exist in existing ~/.cabal/configsย #5973

Closed
@phadej

Description

@phadej
% cabal new-install hlint
Resolving dependencies...
Build profile: -w ghc-8.4.4 -O1
In order, the following will be built (use -v for more details):
 - hlint-2.1.15 (lib) (requires build)
 - hlint-2.1.15 (exe:hlint) (requires build)
Starting     hlint-2.1.15 (lib)
Building     hlint-2.1.15 (lib)
Installing   hlint-2.1.15 (lib)
Completed    hlint-2.1.15 (lib)
Starting     hlint-2.1.15 (exe:hlint)
Building     hlint-2.1.15 (exe:hlint)
Installing   hlint-2.1.15 (exe:hlint)
Completed    hlint-2.1.15 (exe:hlint)
cabal: installdir is not defined. Set it in your cabal config file or use
--installdir=<path>
  • it fails only at the end
  • why it cannot use default if it's not specified?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions