Skip to content
Snippets Groups Projects
Commit 0a38d2af authored by Jørn Lode's avatar Jørn Lode
Browse files

Try to make work on OS X

parent bda53775
No related branches found
No related tags found
No related merge requests found
......@@ -20,8 +20,6 @@ To run `ex4` you first need to put your `Oblig0Common.hs` in the `app` directory
# Note for OS X users
To run on OS X, you will have to delete the file `cabal.project` first.
Also, running it with `cabal repl ex<i>` might not work, in which case you
will have to use `cabal run ex<i>` to run the project.
# Project structure
......
packages: .
-- NOTE: This might not work on OSX. If it fails somehow, it might be worth trying
-- to remove lines 9-14. If it still doesn't work (because GLUT crashes ghci),
-- maybe uncommenting line 7 will help.
-- constraints: gloss +GLFW -GLUT
source-repository-package
type: git
location: https://github.com/boblehest/gloss
......
......@@ -8,6 +8,8 @@ common common
default-language: Haskell2010
hs-source-dirs: app
-- pkgconfig-depends: glu, glut
ghc-options: -fno-ghci-sandbox
executable ex1
import: common
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment