allow installation of non-haskell or haskell script executables #286

Closed
bos opened this Issue May 24, 2012 · 2 comments

Projects

None yet

2 participants

@bos
bos commented May 24, 2012

(Imported from Trac #293, reported by avatar on 2008-06-12)

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

@bos
bos commented May 24, 2012

(Imported comment by guest on 2008-06-12)

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

@tibbe
Member
tibbe commented May 5, 2014

Closing as there's been no activity in years.

We're cleaning up the bug tracker to make it useful again and are thus closing bugs that haven't seen any activity in a long time. Please re-open (or file a new bug) if the problem reappears.

@tibbe tibbe closed this May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment