hsinstall: Install Haskell software

[ library, program, utility ] [ Propose Tags ] [ Report a vulnerability ]

This is a tool for deploying software projects into directory structures suitable for installation on a system. It builds upon the `stack install` and `cabal install` commands and adds more features. It's also a tool for easier AppImage creation.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1, 2.2, 2.5, 2.6, 2.7, 2.8, 2.9, 2.10, 3.0, 3.1, 3.2
Change log CHANGELOG.md
Dependencies base (>=3 && <5), Cabal (>=3.14.0.0 && <4), directory (>=1.3.8.1 && <1.4), exceptions (>=0.10.7 && <1), filepath (>=1.4.100.4 && <1.6), formatting (>=7.2.0 && <8), heredoc (>=0.2.0.0 && <0.3), hsinstall, hslogger (>=1.3.1.2 && <2), hslogger-colorfmt (>=1.0.0 && <2), optparse-applicative-dex (>=1.0.1 && <1.2), process (>=1.6.17.0 && <2), safe-exceptions (>=0.1.7.4 && <0.2), text (>=2.0.2 && <2.3), transformers (>=0.6.1.0 && <0.7) [details]
License ISC
Copyright 2016 Dino Morelli
Author Dino Morelli
Maintainer Dino Morelli <dino@ui3.info>
Uploaded by DinoMorelli at 2026-09-06T20:04:48Z
Category Utility
Home page https://codeberg.org/dinofp/hsinstall
Bug tracker https://codeberg.org/dinofp/hsinstall/issues
Source repo head: git clone https://codeberg.org/dinofp/hsinstall
Distributions LTSHaskell:2.8, Stackage:3.2
Executables hsinstall
Downloads 8012 total (29 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-09-06 [all 1 reports]

Readme for hsinstall-3.2

[back to package description]

hsinstall

Synopsis

Pack a haskell project into a deployable directory structure

Description

hsinstall is a tool for deploying software projects into directory structures suitable for installation on a system. It builds upon the stack install and cabal install commands and adds more features. It's also a tool for easier AppImage creation.

  • Copies the LICENSE file into <PREFIX>/share/<PROJECT-NAME>/doc
  • Copies the contents of a template directory stucture in your project (named hsi-tmpl or hsi-tmpl.EXE) into the destination prefix directory. This can contain additional binaries or scripts, resources, documentation, etc.
  • Optionally builds an AppDir-shaped directory structure for the project and produces an an AppImage binary

If the AppImage features are desired, you must have these tools on your PATH:
linuxdeploy: https://github.com/linuxdeploy/linuxdeploy/releases
linuxdeploy-plugin-appimage: https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases

Development

Browse the source

Get source with git and build

$ git clone https://codeberg.org/dinofp/hsinstall.git
$ cd hsinstall
$ stack build

If you have the abovementioned linuxdeploy-* programs on your path, we can do something really cool. Use this freshly-built hsinstall to package itself into an AppImage:

$ stack run hsinstall -- --appimage hsinstall

And you should see an hsinstall-y.z-x86_64.AppImage binary in .

Tip: Use git clean -df to blow away untracked things like the hsi-* and AppImage artifacts.

Handy command to generate Haddock docs during development if using stack. This constrains doc generation to modules in the library:

$ stack haddock --no-haddock-deps

Contact

Authors

Dino Morelli dino@ui3.info

Made by a human badge This work is hand-crafted with no LLM/AI involved