-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.nix
49 lines (47 loc) · 1.77 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
47
48
49
{ system ? builtins.currentSystem # TODO: Get rid of this system cruft
, iosSdkVersion ? "10.2"
}:
with import ./.obelisk/impl { inherit system iosSdkVersion; };
project ./. ({ pkgs, hackGet, ... }: {
android.applicationId = "ca.srid.Taut";
android.displayName = "Taut";
ios.bundleIdentifier = "ca.srid.Taut";
ios.bundleName = "Taut";
__withGhcide = true;
packages = let
obelisk-oauth = hackGet ./dep/obelisk-oauth;
beam = hackGet ./dep/beam;
in {
clay = pkgs.fetchFromGitHub {
owner = "sebastiaanvisser";
repo = "clay";
rev = "54dc9eaf0abd180ef9e35d97313062d99a02ee75";
sha256 = "0y38hyd2gvr7lrbxkrjwg4h0077a54m7gxlvm9s4kk0995z1ncax";
};
direct-sqlite-src = pkgs.fetchFromGitHub {
owner = "IreneKnapp";
repo = "direct-sqlite";
rev = "8e3da41c46b5de19942cc7bf421c3deb5117ba7a";
sha256 = "0ffk5j1db2y1drn0przh4jw9gc3vygwd987wl1g1m3dw7ry4dxy6";
};
obelisk-oauth-common = "${obelisk-oauth}/common";
obelisk-oauth-backend = "${obelisk-oauth}/backend";
beam-core = "${beam}/beam-core";
beam-migrate = "${beam}/beam-migrate";
beam-sqlite = "${beam}/beam-sqlite";
pagination = hackGet ./dep/pagination; # https://github.com/mrkkrp/pagination/issues/6
};
overrides = self: super: with pkgs.haskell.lib; let
in
{
clay = dontCheck super.clay;
mmark = dontCheck super.mmark;
megaparsec = dontCheck super.megaparsec;
# direct-sqlite = self.callCabal2nix "direct-sqlite" direct-sqlite-src {};
# vector-sized = doJailbreak (self.callCabal2nix "vector-sized" vector-sized-src {});
indexed-list-literals = doJailbreak super.indexed-list-literals;
email-validate = doJailbreak super.email-validate;
pagination = dontCheck super.pagination;
zip = dontCheck super.zip;
};
})