Skip to content

Commit 1e18f61

Browse files
committed
fix cicero version from fact not used in cicero/cd job
1 parent 0cad770 commit 1e18f61

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

nix/cloud/actions.nix

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,23 @@
5151

5252
hcl =
5353
(
54-
(lib.callPackageWith (
55-
cell.constants.args.prod
56-
// {inherit branch default_branch;}
57-
))
58-
./nomadEnvs/cicero
59-
{
60-
inherit cell;
61-
inputs =
62-
inputs
63-
// {
64-
cicero =
65-
builtins.getFlake
66-
"github:input-output-hk/cicero/${config.preset.github-ci.lib.getRevision pushInput null}";
67-
};
68-
}
54+
let
55+
additionalInputs = {cicero = builtins.getFlake "github:input-output-hk/cicero/${pushBody.head_commit.id}";};
56+
additionalDesystemizedInputs = inputs.std.deSystemize inputs.cicero.defaultPackage.system additionalInputs;
57+
newInputs = inputs // additionalDesystemizedInputs;
58+
in
59+
lib.callPackageWith cell.constants.args.prod ./nomadEnvs/cicero {
60+
inherit branch default_branch;
61+
inputs = newInputs;
62+
cell =
63+
cell
64+
// {
65+
entrypoints = import ./entrypoints {
66+
inherit cell;
67+
inputs = newInputs;
68+
};
69+
};
70+
}
6971
)
7072
.job;
7173

0 commit comments

Comments
 (0)