reflex-realworld-example icon indicating copy to clipboard operation
reflex-realworld-example copied to clipboard

ob run -- Failing 'hydratation' tests for reflex-dom-core

Open photonsphere-org opened this issue 5 years ago • 2 comments

Running the project using ob-run doesn't work because of failing 'hydratation' tests in relfex-dom-core. (I'm using NixOS 20.09)

As a workaround I've disabled reflex-dom-core tests in the overrides section of default.nix, as follows:

 overrides = with pkgs.haskell.lib; (self: super: {
    entropy = self.callHackage "entropy" "0.4.1.3" {};
    scrypt = dontCheck super.scrypt;
    reflex-dom-core = dontCheck super.reflex-dom-core;
    reflex-dom-storage = (import ./dep/reflex-dom-storage) self super;

(The line added is the reflex-dom-core = dontCheck super.reflex-dom-core;)

Now ob run works and the app loads in the browser and I can browse this very nice example!

photonsphere-org avatar Dec 31 '20 11:12 photonsphere-org

    brittany = dontCheck super.brittany;

photonsphere-org avatar Oct 24 '21 13:10 photonsphere-org

Ong Yi Ren has made this excellent fork (october 2021), with a commit named: Update code to be compiled under latest version of obelisk, which has apparently brought the code up to date with the latest version of Obelisk. Note: the workaround for the Failing 'hydratation' tests for reflex-dom-core still applies (at least when using ob run under NixOS it does).

photonsphere-org avatar Oct 25 '21 09:10 photonsphere-org