Build stack projects offline
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
docker
src/Stack
test
tuple-operator
.gitignore
.stylish-haskell.yaml
HLint.hs
LICENSE
README.md
Setup.hs
distclean
files.txt
stack-offline.cabal
stack.yaml
test.full
test.full.proxy

README.md

stack-offline

Join the chat at https://gitter.im/cblp/stack-offline

Build stack projects offline

Design

Utility stack-offline

Packs everything you need to develop without internet connection. Packing itself does use internet connection.

Parameters:

  • --resolver
    • (mandatory) use specified snapshot
  • --minimal
    • pack only build tools, without testing, profiling and other tools
  • --system-ghc
    • do not pack GHC (default)
  • --no-system-ghc
    • do pack GHC

Output:

  • big tgz archive (from hundreds of megabytes in minimal case to several gigabytes and beyond) with packages and compiler.
  • a script extracting everything into proper positions in user's ~/.stack.

Development

Build and install

$ stack install

Testing

$ ./test.full