26 lines
648 B
Nix
26 lines
648 B
Nix
|
{
|
||
|
reflex-platform ? import ./dep/reflex-platform { system = builtins.currentSystem; }
|
||
|
}: (reflex-platform.project ({ pkgs, thunkSource, ... }: {
|
||
|
name = "reflex-react";
|
||
|
src = ./.;
|
||
|
ghcjs-compiler-nix-name = "ghcjs8107JSString"; #TODO: This must be default
|
||
|
compiler-nix-name = "ghc8107Splices"; #TODO: This must be default
|
||
|
shells = ps: with ps; [ react ];
|
||
|
inputThunks = [
|
||
|
{
|
||
|
thunk = ./dep/jsaddle;
|
||
|
subdirs = [
|
||
|
"jsaddle"
|
||
|
"jsaddle-warp"
|
||
|
];
|
||
|
}
|
||
|
./dep/jsaddle-dom
|
||
|
];
|
||
|
})).extend (self: super: {
|
||
|
shells = super.shells // {
|
||
|
ghc = self.shell-driver {
|
||
|
crossBuilds = [ ];
|
||
|
};
|
||
|
};
|
||
|
})
|