Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa committed Nov 15, 2023
1 parent d13b6a8 commit 3c566b6
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,22 @@ let
};
};

all-pkgs = pkgSet.releaseTools.aggregate {
# Aggregate all packages
# All-green-criteria
all-jobs = pkgSet.releaseTools.aggregate {
name = "all-packages";
constituents = pkgsClean;
};
in pkgsClean // { inherit all-pkgs; };
constituents = with lib;
let
a2l = mapAttrsToList (_: path: if (lib.isAttrs path) then a2l path else path);
pnames =
(mapAttrsRecursiveCond
(as: !(as ? "type" && as.type == "derivation"))
(path: _: concatStringsSep "." path)
pkgsClean
);
in a2l pnames;
};
in pkgsClean // { inherit all-jobs; };

in {
"${cfg.prefix}" = pkgs config (self: super: {});
Expand Down

0 comments on commit 3c566b6

Please sign in to comment.