https://github.com/nh2/custom-hackage
Script that allows to run your own hackage with select packages/versions that you drop in
https://github.com/nh2/custom-hackage
Last synced: 3 months ago
JSON representation
Script that allows to run your own hackage with select packages/versions that you drop in
- Host: GitHub
- URL: https://github.com/nh2/custom-hackage
- Owner: nh2
- Created: 2013-06-13T02:14:52.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-17T03:27:48.000Z (almost 12 years ago)
- Last Synced: 2025-01-23T18:20:34.631Z (4 months ago)
- Language: Shell
- Size: 125 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
custom-hackage
==============A small script that allows to run your own hackage repository with select packages/versions that you drop in.
Use it if you just want to have your own repo for `cabal install` - no fancy web interface provided.
Usage
-----Drop your packages tars into `package/`, for example `package/bytestring-0.10.2.0.tar.gz`.
Then run `./generate-index.sh`.
Done.
Use your repo with cabal
------------------------You can now serve this directory using any HTTP server, or the minimal `./webserver.sh`.
To tell cabal to get packages from your custom hackage, update `~/.cabal/config` to
```
remote-repo: my-custom-hackage:http://[SERVER_ADDRESS]/
```