-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.nix
46 lines (37 loc) · 1.3 KB
/
default.nix
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ nixpkgs ? import <nixpkgs> {}, compiler ? "default" }:
let
inherit (nixpkgs) pkgs;
haskellPackages = if compiler == "default"
then pkgs.haskellPackages
else pkgs.haskell.packages.${compiler};
sources = {
papa = pkgs.fetchFromGitHub {
owner = "qfpl";
repo = "papa";
rev = "5e9ebc1ffa2e40894ed884b637285022278f98e9";
sha256 = "085bkmbqa34aks2hgfhxkl2vq8x1qrk5n4nzmvp35nqgcc53cksg";
};
notzero = pkgs.fetchFromGitHub {
owner = "qfpl";
repo = "notzero";
rev = "04fbbe14773166de273577c0a6cb8dd89358fc78";
sha256 = "0ypad68l7017my3vhcids21wx27lm381xx52c9q8pwviqlvdd077";
};
waargonaut = pkgs.fetchFromGitHub {
owner = "qfpl";
repo = "waargonaut";
rev = "14c0928a0da5bbe50c1364e9a7ab40290b32ea0d";
sha256 = "124ns0i71wiir9lybfqzpy6zqk4qxk3qa7wnhv04f8lr2f0vl5j9";
};
};
modifiedHaskellPackages = haskellPackages.override {
overrides = self: super: import sources.papa self // {
parsers = pkgs.haskell.lib.dontCheck super.parsers;
notzero = sources.notzero;
tagsoup-selection = pkgs.haskell.lib.doJailbreak super.tagsoup-selection;
# waargonaut = sources.waargonaut;
};
};
aip = modifiedHaskellPackages.callPackage ./aip.nix {};
in
aip