Skip to content

Commit

Permalink
how are store paths shown?
Browse files Browse the repository at this point in the history
  • Loading branch information
markuskowa committed Nov 15, 2023
1 parent 4125636 commit 3a067fe
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,21 @@ let
allJobs = prefix: jobs: let
aggrJob = (nixpkgs-final {}).releaseTools.aggregate {
name = "all-packages";
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 "." ([ prefix ] ++ path))
jobs
;
in a2l pnames;
constituents = [
jobs.tested
jobs.tests.molcas
jobs.python3.adcc
];
# 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 "." ([ prefix ] ++ path))
# jobs
# ;
# in a2l pnames;
};
in {
"${prefix}" = jobs;
Expand Down

0 comments on commit 3a067fe

Please sign in to comment.