-
Notifications
You must be signed in to change notification settings - Fork 24
Description
"cabal-dev install" is complaining about a missing directory - see below for the exact error message.
The background is I had trouble with a module that cabal-dev couldn't build, and I removed the directory on the thought that some part of the build might not be getting fully re-built (in particular, to take into account the effects of a change in $PATH).
I wasn't too surprised when this caused trouble with using cabal-dev in the original project. But now, I can create a completely brand-new project, which does not mention the problem directory anywhere, and cabal-dev still complains.
I also can't find a reference to the problem directory in any of /Library/Haskell/ or ~/Library/Haskell/ or ~/.cabal. So I'm having trouble understanding even how cabal-dev decides that it needs to see the directory. This is on Mac OS X 10.6.8 in case it's helpful.
16:32 ijmorlan@27imac.local$ yesod init
Welcome to the Yesod scaffolder.
I'm going to be creating a skeleton Yesod project for you.
What is your name? We're going to put this in the cabal and LICENSE files.
Your name: Test
Welcome Test.
What do you want to call your project? We'll use this for the cabal name.
Project name: test-project
Yesod uses Persistent for its (you guessed it) persistence layer.
This tool will build in either SQLite or PostgreSQL or MongoDB support for you.
We recommend starting with SQLite: it has no dependencies.
s = sqlite
p = postgresql
mongo = mongodb
mysql = MySQL
So, what'll it be? s
That's it! I'm creating your files now...
Generating deploy/Procfile
[....]
Take part in the community: http://yesodweb.com/page/community
Start your project:
cd test-project && cabal install && yesod devel
or if you use cabal-dev:
cd test-project && cabal-dev install && yesod --dev devel
16:32 ijmorlan@27imac.local$ cd test-project/
/Users/ijmorlan/test/test-project
16:33 ijmorlan@27imac.local$ cabal-dev install
Resolving dependencies...
cabal: /var/folders/Lh/LhVs9ls4Hme1jR+t1DJbm++++TQ/-Tmp-/SHA-1.6.1-57950: does not exist
16:33 ijmorlan@27imac.local$