Skip to content

Instantly share code, notes, and snippets.

@peti
Last active March 9, 2018 11:24
Show Gist options
  • Save peti/2c5a5e712b95792aac0d631037710cee to your computer and use it in GitHub Desktop.
Save peti/2c5a5e712b95792aac0d631037710cee to your computer and use it in GitHub Desktop.
cabal new-build is confused by "tests: True" in global config file
/.*.environment.*
/dist-newstyle/*
main :: IO ()
main = putStrLn "Hello, world."
import Distribution.Simple
main = defaultMain
name: test
version: 0.1.0.0
license: BSD3
author: Peter Simons
maintainer: [email protected]
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
executable test
main-is: Main.hs
build-depends: base, distributive
default-language: Haskell2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment