2018-08-18 07:24:54 -04:00
|
|
|
let
|
2019-06-11 23:36:12 -04:00
|
|
|
rev = "0d576d7eb875b83ada78dca788981cccf2e4d883";
|
2018-09-03 22:43:27 -04:00
|
|
|
np = builtins.fetchTarball {
|
2018-09-04 21:35:28 -04:00
|
|
|
url = "https://github.com/nixos/nixpkgs/archive/${rev}.tar.gz";
|
2019-06-11 23:36:12 -04:00
|
|
|
sha256 = "178j5kp89is5a6vkbj83g0yr4ykgibp1lwhybvgp7sfw9rk9fy5d";
|
2018-09-03 22:20:35 -04:00
|
|
|
};
|
2018-09-03 21:32:43 -04:00
|
|
|
config = {
|
2019-06-11 23:36:12 -04:00
|
|
|
allowBroken = true;
|
|
|
|
overlays = [];
|
2018-09-03 21:32:43 -04:00
|
|
|
packageOverrides = pkgs: rec {
|
|
|
|
haskellPackages = pkgs.haskellPackages.override {
|
|
|
|
overrides = haskellPackagesNew: haskellPackagesOld: rec {
|
|
|
|
rf =
|
2018-12-12 21:22:16 -05:00
|
|
|
haskellPackagesNew.callPackage ./cabal.nix { };
|
2018-09-03 21:32:43 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2018-09-03 22:20:35 -04:00
|
|
|
pkgs = import np { inherit config; };
|
2018-08-18 07:24:54 -04:00
|
|
|
in
|
2018-09-03 21:32:43 -04:00
|
|
|
rec {
|
|
|
|
inherit pkgs;
|
|
|
|
rf = pkgs.haskellPackages.rf;
|
|
|
|
}
|