You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added a cabal.project to the project, try to new-build
> git clone https://github.com/lspitzner/gtk2hs.git --depth=5 --branch=new-build
> cd gtk2hs
> cabal new-build gtk/
Resolving dependencies...
In order, the following will be built (use -v for more details):
cairo-0.13.1.1
glib-0.13.2.2
gio-0.13.1.1
pango-0.13.1.1
gtk3-0.14.2
ghc-pkg: cannot create: $PROJECT/dist-newstyle/packagedb/ghc-7.10.3 already exists
first problem. [this might appear somewhat non-deterministically. or i messed up my testing once.] fixed by just trying again:
> cabal new-build gtk/
[tons of successful compilation, until:]
$PROJECT/dist-newstyle/build/gtk3-0.14.2/setup/setup.hs:1:1:
Could not find module ‘Prelude’
It is a member of the hidden package ‘base-4.8.2.0’.
Perhaps you need to add ‘base’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.
This seems to resemble #3320 (or #3394), but the cabal.project already adds +build-demos, i thought. well, next workaround: add custom-setup:
(new clone because i delete the entire directory anyways to prevent any residual state between builds.)
Uh oh!
There was an error while loading. Please reload this page.
added a
cabal.project
to the project, try to new-buildfirst problem. [this might appear somewhat non-deterministically. or i messed up my testing once.] fixed by just trying again:
This seems to resemble #3320 (or #3394), but the cabal.project already adds
+build-demos
, i thought. well, next workaround: addcustom-setup
:(new clone because i delete the entire directory anyways to prevent any residual state between builds.)
not sure how to continue.
The text was updated successfully, but these errors were encountered: