-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.nix
33 lines (27 loc) · 1.21 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
{ reflex-platform ? import ./nix/reflex-platform.nix
, compiler ? "ghc"
, local-basic-host ? false
} :
let
pkgs = import <nixpkgs> {};
# ghc = reflex-platform.${compiler};
ghc = pkgs.haskell.packages.ghc863;
reflex-basic-host-sources = if local-basic-host then ../reflex-basic-host else (import ./nix/reflex-basic-host.nix);
reflex-brick-source = ../reflex-brick;
modifiedHaskellPackages = ghc.override {
overrides = self: super: {
#reflex-basic-host = self.callPackage reflex-basic-host-sources {};
#reflex-brick = self.callPackage reflex-brick-source {};
#brick = self.callHackage "brick" "0.40" {};
#vty = self.callHackage "vty" "5.23.1" {};
generic-lens = pkgs.haskell.lib.dontCheck (self.callHackage "generic-lens" "1.1.0.0" {});
# hspec = pkgs.haskell.lib.dontCheck (self.callHackage "hspec" "2.5.1" {});
servant = pkgs.haskell.lib.dontCheck super.servant;
servant-client-core = pkgs.haskell.lib.dontCheck super.servant-client-core;
servant-server = pkgs.haskell.lib.dontCheck super.servant-server;
servant-client = pkgs.haskell.lib.dontCheck super.servant-client;
};
};
drv = modifiedHaskellPackages.callPackage ./gitlab-triage.nix {};
in
drv