The hinstaller package

[ Tags: lgpl, library, system ] [ Propose Tags ]

This module allows you to incorporate arbitrary files into a haskell module during compilation. The files are then available to you through functions which allows you to write installer-type applications which write out the files when run. Thus this can be considered in the same model as Java .jar files or executable zip or other file archives.

Note that the current implementation is now reasonably efficient. However, either use -fvia-C which will take care of all compilation for you (but will be slow) or use -fasm which will probably fail at the linking stage. Compile the generated .c files and manually link together to complete the installation. On any non-trivial sized file, you may need to increase GHC's stack with +RTS -K32M -RTS to avoid stack overflows.


Versions 2007.4.21, 2007.4.23, 2007.4.24, 2007.5.13, 2008.2.16
Dependencies base, filepath, template-haskell [details]
License LGPL
Copyright Matthew Sackman
Author Matthew Sackman
Category System
Home page
Uploaded Mon Apr 23 17:39:10 UTC 2007 by MatthewSackman
Distributions NixOS:2008.2.16
Downloads 1405 total (111 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-04 [all 7 reports]
Hackage Matrix CI


  • System
    • System.Installer


Maintainer's Corner

For package maintainers and hackage trustees