mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-29 22:51:11 +03:00
33 lines
804 B
Nix
33 lines
804 B
Nix
self: super:
|
|
let
|
|
inherit (self.arion-project) haskellPkgs;
|
|
inherit (super) lib;
|
|
|
|
sources = import ./sources.nix;
|
|
|
|
in
|
|
{
|
|
|
|
inherit (import ./.. { pkgs = self; }) arion;
|
|
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
|
|
self.niv
|
|
self.releaser
|
|
];
|
|
};
|
|
};
|
|
|
|
inherit (import (sources.niv) {}) niv;
|
|
releaser = self.haskellPackages.callCabal2nix "releaser" sources.releaser {};
|
|
}
|