Nicolas Rolland
Nicolas Rolland
@DanielG the alternative is littering GHC code with equivalent to ghcjs code using undefined and pragma. switching binary once is a very mild operation in comparison
yeah, that's nothing given the upshot. just switch the binary by hand once. it'd be nice to have https://github.com/DanielG/ghc-mod/issues/615, but one can do without and is a separate issue
Sure but who knows how many people want that feature ? Not knowing the amount of interest, why would someone spend effort on this and not something else. that's a...
sure we could do that. But baring such a system of vote we just don't know
@meditans The only issue, as laid out previously here in #676, is that we don't know how many people are interested in this functionality. for all we know, people might...
where does ghc-mod find its library ? If launched with command line, from the location of `ghc-mod debug`, say `GHC System libraries: /Users/nrolland/.nix-profile/lib/ghc-7.10.2` from `stack exec -- ghc-mod boot` this...
as for me, somehow my emacs config was generating a "dist" directory automatically... leading to the known issue with stack
I have the same here with message ``` ghc-mod -v7 --ghcOpt=v7 boot not sandboxed DEBUG: reading cache: /Users/nrolland/Sync/clones/cqrs/cqrs-example/.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/setup-config.ghc-mod.package-options ghc-mod: : cannot satisfy -package-id aeson-0.8.1.1-8e47ef90edf199d539b7274d4f606480: aeson-0.8.1.1-8e47ef90edf199d539b7274d4f606480 is unusable due to missing...
same after nuking .stack-work ``` $ ghc-mod -v7 --ghcOpt=v7 boot not sandboxed DEBUG: regenerating cache: /Users/nrolland/Sync/clones/cqrs/cqrs-example/.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/setup-config.ghc-mod.package-options (cache missing or unreadable) DEBUG: writing memory cache: /Users/nrolland/Sync/clones/cqrs/cqrs-example/.stack-work/dist/x86_64-osx/Cabal-1.22.5.0/setup-config.ghc-mod.package-options ghc-mod: : cannot satisfy -package-id...
I think my issue is linked to ghc-7.10.3, going from nightly-2015-12-16 (7.10.3) to nightly-2015-12-13 (7.10.2) fixed it.