Ticket #293 (new enhancement)

Opened 6 months ago

Last modified 6 months ago

allow installation of non-haskell or haskell script executables

Reported by: Misha Aizatulin <avatar@hot.ee> Assigned to:
Priority: normal Milestone:
Component: Cabal library Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.2 Platform:

Description

Sometimes it is desirable to include an auxiliary executable, which is not written in haskell or is written in haskell, but better not be compiled and run as a script instead. Currently cabal doesn't offer any way to install such executables into $bindir. I suggest adding an extra-bin-files property that should be treated similar to data-files, but install into $bindir and take care of correct permissions.

The way through the hooks is unsatisfactory, because the hooks allow no way of telling cabal what they have done. This is going to be a problem, when cabal starts tracking all the installed files for uninstall purposes.

See also http://thread.gmane.org/gmane.comp.lang.haskell.libraries/9227

Change History

06/12/08 06:45:22 changed by guest

  • reporter changed from guest to Misha Aizatulin <avatar@hot.ee>.

06/12/08 07:01:34 changed by guest

the hooks-route could be made less bad if cabal provided generic file-installation functions that allowed Cabal to track, at least, what files were installed...

-Isaac Dupree