Skip to content

Instantly share code, notes, and snippets.

@aavogt
Created November 5, 2013 21:14
Show Gist options
  • Save aavogt/7326436 to your computer and use it in GitHub Desktop.
Save aavogt/7326436 to your computer and use it in GitHub Desktop.
module M where
#/bin/bash
cabal configure --enable-test
cabal repl <<< "import Data.Map"
module Main where
import Data.Map
main = print ()
name: tst
version: 0.1.0.0
license-file: LICENSE
author: aavogt
maintainer: fred@example.net
build-type: Simple
cabal-version: >=1.10
library
exposed-modules: M
build-depends: base >=4.6 && <4.7
default-language: Haskell2010
test-suite test1
type: exitcode-stdio-1.0
main-is: test.hs
build-depends: containers
@aavogt
Copy link
Author

aavogt commented Nov 5, 2013

./runtests.sh fails with:

:
Could not find module Data.Map' It is a member of the hidden packagecontainers-0.5.0.0'.
Perhaps you need to add `containers' to the build-depends in your .cabal file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment