Ticket #646 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

cabal-install does not install data-files

Reported by: StefanK Owned by:
Priority: normal Milestone:
Component: cabal-install tool Version: 1.6.0.1
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform: Linux

Description

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@watarrka:~> ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.1

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

Attachments

test.tar.bz2 Download (11.6 KB) - added by StefanK 3 years ago.
project.cabal Download (415 bytes) - added by StefanK 3 years ago.
the cabal file from the zipped archive, for easier viewing

Change History

Changed 3 years ago by StefanK

Changed 3 years ago by StefanK

the cabal file from the zipped archive, for easier viewing

Changed 3 years ago by duncan

  • status changed from new to closed
  • resolution set to duplicate

This is a duplicate of #645.

Note: See TracTickets for help on using tickets.