2018-08-18 07:24:54 -04:00
|
|
|
let
|
2018-09-03 22:20:35 -04:00
|
|
|
inherit (import <nixpkgs> {}) fetchFromGitHub;
|
|
|
|
np = fetchFromGitHub {
|
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
rev = "d7c0d9a7f83b7f80e08888c040ea8a2ab7ca5f71";
|
|
|
|
sha256 = "0vb7ikjscrp2rw0dfw6pilxqpjm50l5qg2x2mn1vfh93dkl2aan7";
|
|
|
|
};
|
2018-09-03 21:32:43 -04:00
|
|
|
config = {
|
|
|
|
packageOverrides = pkgs: rec {
|
|
|
|
haskellPackages = pkgs.haskellPackages.override {
|
|
|
|
overrides = haskellPackagesNew: haskellPackagesOld: rec {
|
|
|
|
rf =
|
|
|
|
haskellPackagesNew.callPackage ./default.nix { };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
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;
|
|
|
|
}
|