jonoabroad / simplified_cabal_example

Simple example to show an error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cabal2nix --shell . > default.nix
nix-shell
cabal sandbox init
cabal install --only-dependencies --enable-tests
cabal test
Preprocessing test suite 'spec' for example-0.0.0..
Building test suite 'spec' for example-0.0.0..
[1 of 1] Compiling MainSpec         ( test/MainSpec.hs, dist/build/spec/spec-tmp/MainSpec.o )

test/MainSpec.hs:4:1: error:
    Could not find module ‘Main’
    Use -v to see a list of the files searched for.
  |
4 | import  Main (func)
  | ^^^^^^^^^^^^^^^^^^^

About

Simple example to show an error

License:Other


Languages

Language:Nix 67.9%Language:Haskell 32.1%