[Hackage] #646: cabal-install does not install data-files

Hackage trac at galois.com
Fri Mar 19 06:16:16 EDT 2010


#646: cabal-install does not install data-files
---------------------------------+------------------------------------------
  Reporter:  StefanK             |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.1
  Severity:  normal              |     Keywords:         
Difficulty:  unknown             |   Ghcversion:         
  Platform:  Linux               |  
---------------------------------+------------------------------------------
 Installing a package with
 {{{
 cabal clean
 cabal configure --user --prefix="${HOME}/opt"
 cabal build
 cabal install
 }}}

 does not copy the data-files listed in the project.cabal file to the
 desired destination. It does not copy them anywhere at all. I would expect
 them to end below something like {{{/home/sk/opt/share/project-0.1}}}, as
 is reported by function {{{Paths_project.getDataFileName}}}.

 I'll attach a toy project demonstrating this.

 System:
 {{{
 sk at watarrka:~> ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.12.1

 sk at watarrka:~> cabal --version
 cabal-install version 0.8.0
 using version 1.8.0.2 of the Cabal library
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/646>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list