arion/nix/overlay.nix

22 lines
582 B
Nix
Raw Normal View History

2019-06-14 16:10:37 +02:00
self: super:
let
inherit (self.arion-project) haskellPkgs;
in
{
2019-06-15 22:07:20 +02:00
arion-v0 = super.callPackage ../arion.nix {};
arion = super.haskell.lib.justStaticExecutables haskellPkgs.arion-compose;
tests = super.callPackage ../tests {};
2019-03-03 23:42:40 +01:00
doc = super.callPackage ../doc {};
2019-06-14 16:10:37 +02:00
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
];
};
};
}