arion/nix/overlay.nix
2019-06-14 16:10:37 +02:00

20 lines
502 B
Nix

self: super:
let
inherit (self.arion-project) haskellPkgs;
in
{
arion = super.callPackage ../arion.nix {};
tests = super.callPackage ../tests {};
doc = super.callPackage ../doc {};
arion-project = super.recurseIntoAttrs {
haskellPkgs = super.haskellPackages.extend (import ./haskell-overlay.nix self super);
shell = haskellPkgs.shellFor {
packages = p: [p.arion-compose];
buildInputs = [
haskellPkgs.cabal-install
haskellPkgs.ghcid
];
};
};
}