mirror of
https://github.com/ilyakooo0/servant-reflex.git
synced 2024-09-11 07:15:29 +03:00
28 lines
695 B
Nix
28 lines
695 B
Nix
{ pkgs ? import <nixpkgs> {}, compiler ? "ghcjs" }:
|
|
|
|
let
|
|
reflexPlatform =
|
|
import ./nix/reflex-platform.nix {
|
|
fetchFromGitHub = pkgs.fetchFromGitHub;
|
|
};
|
|
|
|
in rec {
|
|
|
|
servant-reflex = import ./nix/servant-reflex.nix {
|
|
reflexPlatform = reflexPlatform;
|
|
compiler = compiler;
|
|
};
|
|
testserver = import ./nix/testserver.nix
|
|
{ reflexPlatform = reflexPlatform;
|
|
servant-reflex = servant-reflex ;
|
|
};
|
|
testdriver = import ./nix/testdriver.nix
|
|
{ reflexPlatform = reflexPlatform;
|
|
};
|
|
testresults = import ./nix/testresults.nix
|
|
{ inherit reflexPlatform testserver testdriver;
|
|
inherit (pkgs) curl;
|
|
phantomjs = pkgs.phantomjs2;
|
|
};
|
|
}
|