mirror of
https://github.com/byteverse/colonnade.git
synced 2026-01-23 12:41:58 +01:00
6 lines
269 B
Nix
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; }
|