colonnade-old/reflex-dom-colonnade/default.nix
2017-05-06 20:40:16 -04:00

6 lines
269 B
Nix

{ test ? "true" }:
let parseBool = str: with builtins;
let json = fromJSON str; in if isBool json then json else throw "nix parseBool: ${str} is not a bool.";
in
import ../nix/default.nix { package = "reflex-dom-colonnade"; frontend = false; test = parseBool test; }