about summary refs log tree commit diff
path: root/default.nix
blob: ca163c8e56d78fb497731c7798e01b5aaeab2b58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ nixpkgs ? import ./nixpkgs.nix {}
, compiler ? "ghc865" }:
let
  inherit (nixpkgs) pkgs;
  all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
  hie = all-hies.selection { selector = p: { inherit (p) ghc865; }; };
  xanthous = (pkgs.haskellPackages
    .extend (import ./haskell-overlay.nix { inherit nixpkgs; }))
    .callPackage (import ./pkg.nix { inherit nixpkgs; }) {};
in
xanthous // { inherit hie; }