arion/nix/overlay.nix
Robert Hensing 286d0ae084 Rewire nix
2019-09-28 16:27:07 +02:00

26 lines
607 B
Nix

self: super:
let
inherit (self.arion-project) haskellPkgs;
inherit (super) lib;
in
{
arion = import ./arion.nix { pkgs = self; };
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
super.docker-compose
(import ~/h/ghcide-nix {}).ghcide-ghc864
];
};
};
}