git.iko.soy/typeable/reflex-dom-contrib
on master help sign in
35 lines 950 B history raw
1{ rpRef ? "123a6f487ca954fd983f6d4cd6b2a69d4c463d10"
2, rpSha ? "16q1rq0rwi6l28fv46q8m0hvb9rxrzf574j865vaz04xy8d5p1ya"
3}:
5let rp = builtins.fetchTarball {
6 url = "https://github.com/reflex-frp/reflex-platform/archive/${rpRef}.tar.gz";
7 sha256 = rpSha;
8};
10in
11 (import rp {}).project ({ pkgs, ... }:
12 let gitignore = pkgs.callPackage (pkgs.fetchFromGitHub {
13 owner = "siers";
14 repo = "nix-gitignore";
15 rev = "4f2d85f2f1aa4c6bff2d9fcfd3caad443f35476e";
16 sha256 = "1vzfi3i3fpl8wqs1yq95jzdi6cpaby80n8xwnwa8h2jvcw3j7kdz";
17 }) {};
18 in
19 {
20 name = "reflex-dom-contrib";
21 overrides = self: super: with pkgs.haskell.lib;
22 {
23 };
24 packages = {
25 reflex-dom-contrib = gitignore.gitignoreSource [] ./.;
26 };
27 shellToolOverrides = ghc: super: {
28 ghcid = pkgs.haskellPackages.ghcid;
29 };
30 shells = {
31 ghc = ["reflex-dom-contrib"];
32 ghcjs = ["reflex-dom-contrib"];
33 };
35 })