These are chat archives for unisonweb/unison

19th
Jun 2015
John Ericson
@Ericson2314
Jun 19 2015 00:37
I'm getting a eq1 is not in scope error
other than that I think i have a temporary hack so the build system cleanup can be merged
Paul Chiusano
@pchiusano
Jun 19 2015 00:37
eq1 hmm
John Ericson
@Ericson2314
Jun 19 2015 00:38
in ABT.hs 240:26
Paul Chiusano
@pchiusano
Jun 19 2015 00:38
should be coming from import Data.Functor.Classes (Eq1(..),Show1(..))
John Ericson
@Ericson2314
Jun 19 2015 00:41
yeah that is there
weird
oh this is shared with ghcjs btw
Paul Chiusano
@pchiusano
Jun 19 2015 00:41
is the error when compiling to js
John Ericson
@Ericson2314
Jun 19 2015 00:42
doesn't look like it
also showPrec1 is missing
but showPrec isn't
Paul Chiusano
@pchiusano
Jun 19 2015 00:42
showPrec is in Show
showPrec1 should be in Show1
John Ericson
@Ericson2314
Jun 19 2015 00:42
hmm
Paul Chiusano
@pchiusano
Jun 19 2015 00:43
hmm, there is also prelude-extras: https://hackage.haskell.org/package/prelude-extras-0.3
I wonder if you could just move to that instead
it does not really matter where Show1 / Eq1 are coming from
John Ericson
@Ericson2314
Jun 19 2015 00:45
wow
so it does build with just ghc
maybe different versions of deps with ghcjs
Paul Chiusano
@pchiusano
Jun 19 2015 00:45
oh, interesting
yeah, there are no version specified in the cabal file
John Ericson
@Ericson2314
Jun 19 2015 00:47
did you using try-reflex master?
or try-reflex develop?
Paul Chiusano
@pchiusano
Jun 19 2015 00:47
just in the cabal.config, but I don't know if nix would pick that up
John Ericson
@Ericson2314
Jun 19 2015 00:47
I doubt it will
Paul Chiusano
@pchiusano
Jun 19 2015 00:48
ah, no
okay, so if nix doesn't look at the cabal.config, then it is just grabbing a random version of the deps listed
John Ericson
@Ericson2314
Jun 19 2015 00:49
Is this a regression from current build setup?
if not, well better to just ignore for now and get this merged
Paul Chiusano
@pchiusano
Jun 19 2015 00:50
is what a regression? the error or the dependency specification
John Ericson
@Ericson2314
Jun 19 2015 00:51
not being able to build unison-shared with ghcjs and nix
Paul Chiusano
@pchiusano
Jun 19 2015 00:51
i think it is but lemme double check
one sec
John Ericson
@Ericson2314
Jun 19 2015 00:51
ok
I got to go eat now sorry
but shouldn't take long
Paul Chiusano
@pchiusano
Jun 19 2015 00:54
yeah, current setup doesn't give that error
John Ericson
@Ericson2314
Jun 19 2015 00:54
weird
well I'll investigate after
Paul Chiusano
@pchiusano
Jun 19 2015 00:54
I get an error of not importing Control.Applicative but that is just from moving typechecker over to shared
build of Unison.ABT works fine
okay cool, thanks for your help with this!
Paul Chiusano
@pchiusano
Jun 19 2015 01:00
btw i just pushed fix to imports to master, so master builds cleanly with old setup
John Ericson
@Ericson2314
Jun 19 2015 01:38
ok I'im back
I'll merge
Paul Chiusano
@pchiusano
Jun 19 2015 01:42
cool
Paul Chiusano
@pchiusano
Jun 19 2015 01:56
@Ericson2314 I'm going to have to run in a couple minutes here
John Ericson
@Ericson2314
Jun 19 2015 01:57
srure
I am going to reset nixpkgs and hope that fixes it
Paul Chiusano
@pchiusano
Jun 19 2015 01:58
k
@Ericson2314 something I noticed is that in the cabal.config file, the transformers dependency is specified to be installed
so if what you're doing doesn't work, I was going to try converting to use prelude-extras
John Ericson
@Ericson2314
Jun 19 2015 02:08
ok, I'll try to figure out quick
John Ericson
@Ericson2314
Jun 19 2015 06:48
Ok, it builds!
now just working on shell.nix
John Ericson
@Ericson2314
Jun 19 2015 07:56
Finally got nix PR done!