-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
31 lines (26 loc) · 1007 Bytes
/
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
## { compiler ? "ghc822" }:
let
config = {
packageOverrides = pkgs: rec {
haskellPackages = pkgs.haskellPackages.override {
## "${compiler}" = pkgs.haskell.packages."${compiler}".override {
overrides = haskellPackagesNew: haskellPackagesOld: rec {
# this does not work in 8.4+ because it does not define a semigroup instance
# data-r-tree =
# pkgs.haskell.lib.dontHaddock (
# pkgs.haskell.lib.dontCheck (
# haskellPackagesNew.callPackage ./data-r-tree.nix { }));
# myutils =
# haskellPackagesNew.callPackage ../../myutils.nix { };
# day3 =
# haskellPackagesNew.callPackage ./day3.nix { };
lamb = haskellPackagesNew.callPackage ./lamb.nix { };
};
};
};
## };
};
pkgs = import <nixpkgs> { inherit config; };
in
{ lamb = pkgs.haskellPackages.lamb;
}