gdritter repos new-build-project-bug / 91fe1e9
Minimal reproduction of Cabal bug Getty Ritter 6 years ago
7 changed file(s) with 57 addition(s) and 0 deletion(s). Collapse all Expand all
1 module Main where
2
3 import qualified Foo
4
5 main :: IO ()
6 main = putStrLn Foo.message
1 packages: ., dep/foo
1 module Foo where
2
3 message :: String
4 message = "This is the correct foo"
1 name: foo
2 version: 0.1.0.0
3 license: BSD3
4 author: Getty Ritter <gdritter@galois.com>
5 maintainer: Getty Ritter <gdritter@galois.com>
6 copyright: ©2017 Getty Ritter
7 build-type: Simple
8 cabal-version: >= 1.14
9
10 library
11 exposed-modules: Foo
12 ghc-options: -Wall
13 build-depends: base
14 default-language: Haskell2010
1 module Foo where
2
3 message :: String
4 message = "This is the wrong foo"
1 name: foo
2 version: 0.1.0.0
3 license: BSD3
4 author: Getty Ritter <gdritter@galois.com>
5 maintainer: Getty Ritter <gdritter@galois.com>
6 copyright: ©2017 Getty Ritter
7 build-type: Simple
8 cabal-version: >= 1.14
9
10 library
11 exposed-modules: Foo
12 ghc-options: -Wall
13 build-depends: base
14 default-language: Haskell2010
1 name: sample
2 version: 0.1.0.0
3 license: BSD3
4 author: Getty Ritter <gdritter@galois.com>
5 maintainer: Getty Ritter <gdritter@galois.com>
6 copyright: ©2017 Getty Ritter
7 build-type: Simple
8 cabal-version: >= 1.14
9
10 executable sample
11 main-is: Main.hs
12 ghc-options: -Wall
13 build-depends: base, foo
14 default-language: Haskell2010