blob: 15dfdae73925aead471d89993aa6790347a03502 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
with import <nixpkgs> {};
let
reflex-platform = import (pkgs.fetchFromGitHub {
owner = "reflex-frp";
repo = "reflex-platform";
rev = "504b0344dfa6d03e4c89cf70ab9792b0a1fa021b";
sha256 = "01hvdwc6bw48falpha5kaq4p7w98hc804kkwrayipb5ld1snchpz";
}) {};
buildInputs = [ pkgs.noDemon ];
in
reflex-platform.project ({ pkgs, ... }: {
packages = {
common = ./common;
server = ./server;
client = ./client;
};
shells = {
ghc = [ "common" "server" ];
ghcjs = [ "common" "client" ];
};
})
|