2018-08-29 22:43:44 +03:00
|
|
|
{ nixpkgs, haskellPackages }:
|
|
|
|
|
2018-11-12 23:27:29 +02:00
|
|
|
let
|
|
|
|
jsaddle = nixpkgs.fetchFromGitHub {
|
|
|
|
owner = "ghcjs";
|
|
|
|
repo = "jsaddle";
|
|
|
|
rev = "68208be806c49a2a0c9f037dfac85feae10a8c80";
|
|
|
|
sha256 = "0acj0x716ikfb08ndib36jmwxkwq399lvkip46sfkh1ynn0pvc1c";
|
|
|
|
};
|
|
|
|
miso = nixpkgs.fetchFromGitHub {
|
|
|
|
owner = "dmjio";
|
|
|
|
repo = "miso";
|
|
|
|
rev = "a9c4f0a3a6e7d87f9432dc6cf4b1d0c052bf7ef1";
|
|
|
|
sha256 = "1yq5y4vffslm6abnfnggp5m3k6vla6mzcwmhmm23l8yizsvdkwv2";
|
|
|
|
};
|
2018-11-12 22:58:50 +02:00
|
|
|
|
|
|
|
in
|
|
|
|
|
2018-08-29 22:43:44 +03:00
|
|
|
(import ./project.nix nixpkgs) {
|
2018-11-12 23:40:04 +02:00
|
|
|
haskellPackages = haskellPackages;
|
2018-08-29 22:43:44 +03:00
|
|
|
packages = {
|
|
|
|
common = ./common;
|
|
|
|
backend = ./backend;
|
2018-11-12 22:58:50 +02:00
|
|
|
frontend = ./frontend;
|
2018-08-29 22:43:44 +03:00
|
|
|
};
|
2018-10-17 23:51:30 +03:00
|
|
|
overrides = self: super: {
|
|
|
|
generic-lens = nixpkgs.haskell.lib.dontCheck super.generic-lens;
|
2018-11-12 22:58:50 +02:00
|
|
|
jsaddle-warp = nixpkgs.haskell.lib.dontCheck (super.callPackage (jsaddle + "/jsaddle-warp") {});
|
|
|
|
jsaddle = super.callPackage (jsaddle + "/jsaddle") {};
|
2018-11-12 23:27:29 +02:00
|
|
|
miso = super.callPackage (miso + "/miso-ghc-jsaddle.nix") {};
|
2018-11-12 23:56:30 +02:00
|
|
|
haskeline = super.callHackage "haskeline" "0.7.1.0" {};
|
|
|
|
terminfo = super.callHackage "terminfo" "0.4.1.1" {};
|
2018-10-17 23:51:30 +03:00
|
|
|
};
|
2018-08-29 23:03:24 +03:00
|
|
|
tools = with haskellPackages; [
|
|
|
|
ghcid
|
|
|
|
hasktags
|
|
|
|
];
|
2018-08-02 21:39:08 +03:00
|
|
|
}
|