cabal-dev icon indicating copy to clipboard operation
cabal-dev copied to clipboard

`build` command parsed as a flag when using sandbox named `build`

Open acfoltzer opened this issue 11 years ago • 0 comments

When using a sandbox directory called build, the cabal build command is somehow misinterpreted:

$ cabal-dev -s build configure
Resolving dependencies...
Configuring foo-0.1.0.0...
$ cabal-dev -s build build
cabal: Unrecognised flags: build

However, specifying no sandbox, or a sandbox of a different name, seems to make everything work.

$ cabal-dev -s cabal-dev configure
Resolving dependencies...
Configuring foo-0.1.0.0...
$ cabal-dev -s cabal-dev build
Building foo-0.1.0.0...
Preprocessing library foo-0.1.0.0...
Registering foo-0.1.0.0...

acfoltzer avatar Aug 14 '12 23:08 acfoltzer