Skip to content

cabal-install fails to detect .cabal #2441

@YoEight

Description

@YoEight
yoeight@rannock cep [master] $ cabal build
Package has never been configured. Configuring with default flags. If this
fails, please run configure manually.
cabal: No cabal file found.
Please create a package description file <pkgname>.cabal
yoeight@rannock cep [master] $ cabal configure
cabal: No cabal file found.
Please create a package description file <pkgname>.cabal
yoeight@rannock cep [master] $ ls
cabal.sandbox.config  castor-stories  cep.cabal  default.nix  examples  gikoo  LICENSE  Setup.hs  src

Weird thing is, when I delete cabal.sandbox.config, it detects cep.cabal. This used to work. I didn't upgrade cabal nor ghc in the process.

cabal-install version 1.20.0.6
using version 1.20.0.3 of the Cabal library
GHC: 7.8.4
OS: Archlinux (3.18.6-1-ARCH)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions