react/default.nix

26 lines
641 B
Nix
Raw Normal View History

2023-07-03 18:31:05 +00:00
{
reflex-platform ? import ./dep/reflex-platform { system = builtins.currentSystem; }
}: (reflex-platform.project ({ pkgs, thunkSource, ... }: {
2023-07-03 18:39:34 +00:00
name = "react";
2023-07-03 18:31:05 +00:00
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 = [ ];
};
};
})