qfpl / reflex-realworld-example

BSD 2-Clause "Simplified" License
33 stars 9 forks source link

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

Open maridonkers opened 3 years ago

maridonkers commented 3 years ago

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!

maridonkers commented 2 years ago
    brittany = dontCheck super.brittany;
maridonkers commented 2 years ago

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).