chore(packages): indentation
This commit is contained in:
parent
51e8fafec6
commit
5fa16c98ce
1 changed files with 28 additions and 27 deletions
|
@ -66,33 +66,34 @@ in
|
||||||
pkgs.callPackage systems {
|
pkgs.callPackage systems {
|
||||||
inherit (pkgs) lib hostPlatform targetPlatform;
|
inherit (pkgs) lib hostPlatform targetPlatform;
|
||||||
}))
|
}))
|
||||||
(lib.mapAttrs
|
(lib.mapAttrs
|
||||||
(name: { package, systems }:
|
(name: { package, systems }:
|
||||||
let
|
let
|
||||||
isDream2Nix = lib.pipe package
|
# TODO: put in `autoThings` `handle`?
|
||||||
[
|
isDream2Nix = lib.pipe package
|
||||||
builtins.functionArgs
|
[
|
||||||
builtins.attrNames
|
builtins.functionArgs
|
||||||
(builtins.elem "dream2nix")
|
builtins.attrNames
|
||||||
];
|
(builtins.elem "dream2nix")
|
||||||
in
|
];
|
||||||
if isDream2Nix
|
in
|
||||||
then inputs.dream2nix.lib.evalModules {
|
if isDream2Nix
|
||||||
packageSets.nixpkgs = pkgs;
|
then inputs.dream2nix.lib.evalModules {
|
||||||
modules = [
|
packageSets.nixpkgs = pkgs;
|
||||||
package
|
modules = [
|
||||||
{
|
package
|
||||||
paths.projectRoot = "${self.outPath}";
|
{
|
||||||
paths.projectRootFile = "flake.nix";
|
paths.projectRoot = "${self.outPath}";
|
||||||
paths.package = "${self.outPath}";
|
paths.projectRootFile = "flake.nix";
|
||||||
}
|
paths.package = "${self.outPath}";
|
||||||
];
|
}
|
||||||
specialArgs = {
|
];
|
||||||
# NOTE: for overlayed `maintainers`
|
specialArgs = {
|
||||||
inherit (pkgs) lib;
|
# NOTE: for overlayed `maintainers`
|
||||||
};
|
inherit (pkgs) lib;
|
||||||
}
|
};
|
||||||
else pkgs.callPackage package { }))
|
}
|
||||||
|
else pkgs.callPackage package { }))
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
inherit packages;
|
inherit packages;
|
||||||
|
|
Loading…
Reference in a new issue