This commit is contained in:
parent
92d9dd8249
commit
134c4a8fd8
2 changed files with 5 additions and 5 deletions
|
@ -3,12 +3,12 @@
|
||||||
inputs.git-hooks.url = "github:cachix/git-hooks.nix";
|
inputs.git-hooks.url = "github:cachix/git-hooks.nix";
|
||||||
inputs.git-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
inputs.git-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
outputs = inputs: let
|
outputs = inputs: let
|
||||||
inherit (import nix/boilerplate.nix inputs) fullImport genPkgs;
|
inherit (import nix/boilerplate.nix inputs) call genPkgs;
|
||||||
in {
|
in {
|
||||||
# overlays = import nix/overlays.nix;
|
# overlays = import nix/overlays.nix;
|
||||||
checks = fullImport nix/checks.nix;
|
checks = call (import nix/checks.nix);
|
||||||
packages = fullImport nix/packages.nix;
|
packages = call (import nix/packages.nix);
|
||||||
devShells = fullImport nix/shells.nix;
|
devShells = call (import nix/shells.nix);
|
||||||
formatter = genPkgs (p: p.alejandra);
|
formatter = genPkgs (p: p.alejandra);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ inputs @ {
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
forSelfOverlay =
|
forSelfOverlay =
|
||||||
if builtins.hasAttr "forSelf" self.overlays
|
if builtins.hasAttr "overlays" self && builtins.hasAttr "forSelf" self.overlays
|
||||||
then self.overlays.forSelf
|
then self.overlays.forSelf
|
||||||
else (_: p: p);
|
else (_: p: p);
|
||||||
in rec {
|
in rec {
|
||||||
|
|
Loading…
Reference in a new issue