[Nix-dev] Using ./Setup install for haskell packages

Corey O'Connor coreyoconnor at gmail.com
Mon Feb 27 04:57:30 CET 2012


I'm attempting to install HTTP-4000.2.2 using the ghc --make Setup &&
./Setup configure --user && ./Setup build && ./Setup install
Which is equivalent ( I think ) to "cabal install --user" if
cabal-install was installed.

On install I get an odd error (see below). The error indicates the
mtl, network and parsec packages are not installed. These packages are
installed via the nix system configuration.

Any help?

Cheers,
Corey

error message:
  ./Setup install --user
Installing library in /home/corey/.cabal/lib/HTTP-4000.2.2/ghc-7.4.1
Registering HTTP-4000.2.2...
Setup: HTTP-4000.2.2: Warning: haddock-interfaces:
/home/corey/.cabal/share/doc/HTTP-4000.2.2/html/HTTP.haddock doesn't exist or
isn't a file
HTTP-4000.2.2: Warning: haddock-html:
/home/corey/.cabal/share/doc/HTTP-4000.2.2/html doesn't exist or isn't a
directory
HTTP-4000.2.2: dependency "mtl-2.0.1.0-db19dd8a7700e3d3adda8aa8fe5bf53d"
doesn't exist (use --force to override)
HTTP-4000.2.2: dependency "network-2.3.0.11-b9cda59a82b812ba28e469798a6b312d"
doesn't exist (use --force to override)
HTTP-4000.2.2: dependency "parsec-3.1.2-a6715965b792ffb81aeb3b18e0c709ac"
doesn't exist (use --force to override)

-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/


More information about the nix-dev mailing list