Skip to content

Instantly share code, notes, and snippets.

@dkubb
Last active August 29, 2015 14:25
Show Gist options
  • Select an option

  • Save dkubb/842da22c212c944673b1 to your computer and use it in GitHub Desktop.

Select an option

Save dkubb/842da22c212c944673b1 to your computer and use it in GitHub Desktop.
Create Statically Linked Haskell Binaries
*.hi
*.o
*.sw[op]
/.shake
/.stack-work
/dist
/output
name: minimal-docker-image
version: 0.0.0
cabal-version: >= 1.2
executable Build
ghc-options: -Wall
-Werror
-fwarn-incomplete-record-updates
-fwarn-tabs
-fwarn-monomorphism-restriction
-fwarn-unused-do-bind
-fwarn-implicit-prelude
default-language: Haskell2010
main-is: Build.hs
build-depends: base >= 4 && < 5,
turtle >= 1.2.0 && < 2
resolver: nightly-2015-07-12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment