diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..7969fc7 --- /dev/null +++ b/default.nix @@ -0,0 +1,25 @@ +with import <nixpkgs> {}; + +let + reflex-platform = import (pkgs.fetchFromGitHub { + owner = "reflex-frp"; + repo = "reflex-platform"; + + # Mon Jul 29 15:48:55 2019 -0400 + rev = "51e02339704b7502e63bccf10a72fa4dda744b17"; + sha256 = "1mkimidf755968xzbm3z222xgpdvgg6xmmrfppv1hw0rap5w53iw"; + }) {}; +in + reflex-platform.project ({ pkgs, ... }: { + packages = { + validation = ./validation; + common = ./common; + server = ./server; + client = ./client; + }; + + shells = { + ghc = [ "validation" "common" "server" ]; + ghcjs = [ "validation" "common" "client" ]; + }; + }) |