arion/nix/overlay.nix

26 lines
607 B
Nix
Raw Normal View History

2019-06-14 16:10:37 +02:00
self: super:
let
inherit (self.arion-project) haskellPkgs;
inherit (super) lib;
2019-06-23 21:27:13 +02:00
2019-06-14 16:10:37 +02:00
in
{
2019-06-23 21:27:13 +02:00
2019-09-28 16:27:07 +02:00
arion = import ./arion.nix { pkgs = self; };
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
2019-09-27 21:01:57 +02:00
super.docker-compose
2019-09-28 16:27:07 +02:00
(import ~/h/ghcide-nix {}).ghcide-ghc864
2019-06-14 16:10:37 +02:00
];
};
};
}