ghcjs / ghcjs-examples

89 stars 15 forks source link

webkit-sodium build fail #7

Open NCrashed opened 9 years ago

NCrashed commented 9 years ago

Trying to test ghcjs-hello package, when installing webkit-sodium:

Note: installing in sandbox.

src/Language/Javascript/JSaddle/Value.hs:116:29:
    Overlapping instances for Eq JSObjectRef
      arising from the first field of ‘ValObject’ (type ‘JSObjectRef’)
    Matching instances:
      instance Eq (JSRef a) -- Defined in ‘ghcjs-prim-0.1.0.0:GHCJS.Prim’
      instance Eq (JSRef Language.Javascript.JSaddle.Types.ValueOrObject)
        -- Defined at src/Language/Javascript/JSaddle/Types.hs:50:10
    When deriving the instance for (Eq JSValue)
Failed to install jsaddle-0.2.0.5
cabal: Error: some packages failed to install:
jsaddle-0.2.0.5 failed during the building phase. The exception was:
ExitFailure 1
webkit-sodium-0.0.1 depends on jsaddle-0.2.0.5 which failed to install.

Environment: GHCJS 0.1.0 (GHC 7.8.3) cabal-install version 1.22.4.0 using version 1.22.3.0 of the Cabal library System: 4.0.6-200.fc21.x86_64