blob: 0aa8c9e0b42bd57c765b04161d689b3006ccf331 (
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
25
26
27
28
|
{ pkgs ? (import <nixpkgs> {})
, compilerName ? "ghc801"
}:
rec {
haskellPackages = pkgs.haskell.packages."${compilerName}";
threepenny-gui = pkgs.haskell.lib.appendPatch haskellPackages.threepenny-gui ./threepenny.patch;
thermoprint-spec = haskellPackages.callPackage ./spec/thermoprint-spec.nix {};
thermoprint-bbcode = haskellPackages.callPackage ./tp-bbcode/thermoprint-bbcode.nix {
inherit bbcode thermoprint-spec;
};
thermoprint-client = haskellPackages.callPackage ./client/thermoprint-client.nix {
inherit thermoprint-spec;
};
thermoprint-server = pkgs.callPackage ./server/wrapped.nix {
inherit (haskellPackages) ghcWithPackages;
thermoprint-server = haskellPackages.callPackage ./server/thermoprint-server.nix {
inherit thermoprint-spec thermoprint-client;
};
};
thermoprint-webgui = haskellPackages.callPackage ./webgui/thermoprint-webgui.nix {
inherit thermoprint-bbcode thermoprint-client threepenny-gui;
};
tprint = haskellPackages.callPackage ./tprint/tprint.nix {
inherit thermoprint-bbcode thermoprint-client;
};
bbcode = haskellPackages.callPackage ./bbcode/bbcode.nix {};
}
|