Update compatible transaction building for the cardano-api changes - #1408
Open
carbolymer wants to merge 1 commit into
Open
carbolymer wants to merge 1 commit into
carbolymer wants to merge 1 commit into
IOG Hydra / ci/eval:aarch64-darwin.required
failed
Sep 2, 2026 in 3s
Evaluation failed
Checkout took 45s.
Evaluation took 4 min 5s.
Details
Evaluation error:
error:
… from call site
at /nix/store/g3gjz1bhbikrk9md5hng6mfkyibpl4cd-source/ci/aggregates.nix:26:20:
25| meta.description = "All jobs required to pass CI";
26| constituents = collectConstituents nonRequiredTest;
| ^
27| };
… while calling 'collectConstituents'
at /nix/store/g3gjz1bhbikrk9md5hng6mfkyibpl4cd-source/ci/aggregates.nix:11:25:
10| }: let
11| collectConstituents = excludeTest:
| ^
12| lib.collect lib.isDerivation
… from call site
at /nix/store/g3gjz1bhbikrk9md5hng6mfkyibpl4cd-source/ci/aggregates.nix:12:5:
11| collectConstituents = excludeTest:
12| lib.collect lib.isDerivation
| ^
13| (lib.mapAttrsRecursiveCond (v: !(lib.isDerivation v))
… while calling 'collect'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:871:11:
870| collect =
871| pred: attrs:
| ^
872| if pred attrs then
… while calling the 'concatMap' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:875:7:
874| else if isAttrs attrs then
875| concatMap (collect pred) (attrValues attrs)
| ^
876| else
… while calling 'collect'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:871:11:
870| collect =
871| pred: attrs:
| ^
872| if pred attrs then
… while evaluating a branch condition
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:872:5:
871| pred: attrs:
872| if pred attrs then
| ^
873| [ attrs ]
… from call site
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:872:8:
871| pred: attrs:
872| if pred attrs then
| ^
873| [ attrs ]
… while calling 'isDerivation'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1412:18:
1411| */
1412| isDerivation = value: value.type or null == "derivation";
| ^
1413|
… from call site
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1412:25:
1411| */
1412| isDerivation = value: value.type or null == "derivation";
| ^
1413|
… while calling anonymous lambda
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1187:17:
1186| mapAttrs (
1187| name: value:
| ^
1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
… while evaluating a branch condition
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1188:11:
1187| name: value:
1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
| ^
1189| );
… in the left operand of the AND (&&) operator
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1188:28:
1187| name: value:
1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
| ^
1189| );
… while calling the 'isAttrs' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:1188:14:
1187| name: value:
1188| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value
| ^
1189| );
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:511:16:
510| # Run all the tests and code coverage
511| checks = removeRecurseForDerivations checks;
| ^
512| inherit
… while calling 'removeRecurseForDerivations'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:496:33:
495|
496| removeRecurseForDerivations = x:
| ^
497| let clean = builtins.removeAttrs x ["recurseForDerivations"];
… while evaluating a branch condition
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:499:7:
498| in
499| if x.recurseForDerivations or false
| ^
500| then builtins.mapAttrs (_: removeRecurseForDerivations) clean
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:535:20:
534| , apps ? mkFlakeApps haskellPackages
535| , checks ? mkFlakeChecks (collectChecks' haskellPackages)
| ^
536| , coverage ? {}
… while calling 'mkFlakeChecks'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:484:19:
483| # Flatten the result of collectChecks or collectChecks' for use in flake `checks`
484| mkFlakeChecks = allChecks:
| ^
485| foldrAttrVals
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:485:5:
484| mkFlakeChecks = allChecks:
485| foldrAttrVals
| ^
486| (package: acc:
… while calling 'foldrAttrVals'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:37:25:
36|
37| foldrAttrVals = f: z: attrs:
| ^
38| lib.foldr f z (builtins.attrValues attrs);
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:38:5:
37| foldrAttrVals = f: z: attrs:
38| lib.foldr f z (builtins.attrValues attrs);
| ^
39|
… while calling 'foldr'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/lists.nix:138:14:
137| foldr =
138| op: nul: list:
| ^
139| let
… from call site
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/lists.nix:143:5:
142| in
143| fold' 0;
| ^
144|
… while calling 'fold''
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/lists.nix:141:15:
140| len = length list;
141| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
| ^
142| in
… while evaluating a branch condition
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/lists.nix:141:18:
140| len = length list;
141| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
| ^
142| in
… while calling the 'length' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/lists.nix:140:13:
139| let
140| len = length list;
| ^
141| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
… while calling the 'attrValues' builtin
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:38:20:
37| foldrAttrVals = f: z: attrs:
38| lib.foldr f z (builtins.attrValues attrs);
| ^
39|
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:494:8:
493| { }
494| (removeRecurseForDerivations allChecks);
| ^
495|
… while calling 'removeRecurseForDerivations'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:496:33:
495|
496| removeRecurseForDerivations = x:
| ^
497| let clean = builtins.removeAttrs x ["recurseForDerivations"];
… while evaluating a branch condition
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:499:7:
498| in
499| if x.recurseForDerivations or false
| ^
500| then builtins.mapAttrs (_: removeRecurseForDerivations) clean
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:535:35:
534| , apps ? mkFlakeApps haskellPackages
535| , checks ? mkFlakeChecks (collectChecks' haskellPackages)
| ^
536| , coverage ? {}
… while calling 'collectChecks'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:194:31:
193| # This can be used to collect all the test runs in your project, so that can be run in CI.
194| collectChecks = packageSel: haskellPackages:
| ^
195| let packageFilter = _name: package: (package.isHaskell or false) && packageSel package;
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:196:8:
195| let packageFilter = _name: package: (package.isHaskell or false) && packageSel package;
196| in lib.recurseIntoAttrs (lib.filterAttrs (_: x: x != {} && x != lib.recurseIntoAttrs {}) (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages)));
| ^
197|
… while calling 'recurseIntoAttrs'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:2199:22:
2198| */
2199| recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
| ^
2200|
… in the left operand of the update (//) operator
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:2199:29:
2198| */
2199| recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
| ^
2200|
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:196:30:
195| let packageFilter = _name: package: (package.isHaskell or false) && packageSel package;
196| in lib.recurseIntoAttrs (lib.filterAttrs (_: x: x != {} && x != lib.recurseIntoAttrs {}) (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages)));
| ^
197|
… while calling 'filterAttrs'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:23:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… while calling the 'removeAttrs' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:28:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… while calling the 'mapAttrs' builtin
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:196:95:
195| let packageFilter = _name: package: (package.isHaskell or false) && packageSel package;
196| in lib.recurseIntoAttrs (lib.filterAttrs (_: x: x != {} && x != lib.recurseIntoAttrs {}) (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages)));
| ^
197|
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:196:126:
195| let packageFilter = _name: package: (package.isHaskell or false) && packageSel package;
196| in lib.recurseIntoAttrs (lib.filterAttrs (_: x: x != {} && x != lib.recurseIntoAttrs {}) (lib.mapAttrs (_: p: p.checks) (lib.filterAttrs packageFilter haskellPackages)));
| ^
197|
… while calling 'filterAttrs'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:23:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… while calling the 'removeAttrs' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:28:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:532:29:
531| selectPackages ? haskellLib.selectProjectPackages
532| , haskellPackages ? selectPackages project.hsPkgs
| ^
533| , packages ? mkFlakePackages haskellPackages
… while calling 'filterAttrs'
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:23:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… while calling the 'removeAttrs' builtin
at /nix/store/f9zw9nsp96n5zlfr2cwl8msrd1mfbzm1-source/lib/attrsets.nix:662:28:
661| */
662| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
| ^
663|
… while evaluating the attribute 'hsPkgs'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:740:15:
739| # Haskell packages
740| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
741| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:740:24:
739| # Haskell packages
740| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
741| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:774:20:
773| }
774| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
775| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:708:44:
707| project = addProjectAndPackageAttrs rec {
708| inherit (pkg-set.config) hsPkgs;
| ^
709| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:676:25:
675| else project;
676| pkg-set = if plan-pkgs ? configurationError
| ^
677| then {
… while evaluating a branch condition
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:661:27:
660| callProjectResults = callCabalProjectToNix config;
661| plan-pkgs = if !builtins.pathExists (callProjectResults.projectNix + "/plan.json")
| ^
662| then
… in the argument of the not operator
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:661:31:
660| callProjectResults = callCabalProjectToNix config;
661| plan-pkgs = if !builtins.pathExists (callProjectResults.projectNix + "/plan.json")
| ^
662| then
… while calling the 'pathExists' builtin
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/overlays/haskell.nix:661:31:
660| callProjectResults = callCabalProjectToNix config;
661| plan-pkgs = if !builtins.pathExists (callProjectResults.projectNix + "/plan.json")
| ^
662| then
… while realising the context of path '/nix/store/zzz6wfm8q4j7ps4hwwb465cg7qjfrfrv-cardano-cli-plan-to-nix-pkgs/plan.json'
error: Cannot build '/nix/store/3q7kv5hwhnkvyxi15iq50kcg8hswkl97-cardano-cli-plan-to-nix-pkgs.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/pqkaxbpxq6s71y13m2jf0nxzakb4k80g-cardano-cli-plan-to-nix-pkgs-freeze
/nix/store/zzz6wfm8q4j7ps4hwwb465cg7qjfrfrv-cardano-cli-plan-to-nix-pkgs
Last 25 log lines:
> remote: Counting objects: 100% (740/740), done.
> remote: Compressing objects: 100% (626/626), done.
> remote: Total 740 (delta 40), reused 0 (delta 0), pack-reused 0 (from 0)
> Receiving objects: 100% (740/740), 1.48 MiB | 15.60 MiB/s, done.
> Resolving deltas: 100% (40/40), done.
> From file:///nix/store/wj17w1sz64gc3j39sc5rkrgw4mxkzakd-source-repository-package
> * branch minimal -> FETCH_HEAD
> HEAD is now at e6014d3 Minimal Repo For Haskell.Nix
> Warning: The package list for 'hackage.haskell.org' is 20698 days old.
> Run 'cabal update' to get the latest list of available packages.
> Warning: The package list for 'cardano-haskell-packages' is 20698 days old.
> Run 'cabal update' to get the latest list of available packages.
> Resolving dependencies...
> Error: [Cabal-7107]
> Could not resolve dependencies:
> [__0] next goal: cardano-api (user goal)
> [__0] rejecting: cardano-api; 11.6.0.0, 11.5.0.0, 11.4.0.0 (constraint from user target requires ==11.3.0.0)
> [__0] trying: cardano-api-11.3.0.0
> [__1] next goal: cardano-cli (user goal)
> [__1] rejecting: cardano-cli-11.2.2.0 (conflict: cardano-api==11.3.0.0, cardano-cli => cardano-api^>=11.6)
> [__1] skipping: cardano-cli; 11.2.1.0, 11.2.0.0 (has the same characteristics that caused the previous version to fail: excludes 'cardano-api' version 11.3.0.0)
> [__1] rejecting: cardano-cli; 11.1.0.0, 11.0.0.0, 10.16.0.0, 10.15.1.0, 10.15.0.1, 10.15.0.0, 10.14.0.0, 10.13.1.0, 10.13.0.0, 10.12.0.0, 10.11.1.0, 10.11.0.0, 10.10.0.0, 10.9.0.0, 10.8.0.0, 10.7.0.0, 10.6.0.0, 10.5.0.0, 10.4.0.0, 10.3.0.0, 10.2.0.0, 10.1.1.0, 10.1.0.0, 10.0.0.0, 9.4.1.0, 9.4.0.0, 9.3.0.0, 9.2.1.0, 9.2.0.0, 9.1.0.0, 9.0.0.1, 9.0.0.0, 8.25.0.0, 8.24.0.0, 8.23.1.0, 8.23.0.0, 8.22.0.0, 8.21.0.0, 8.20.3.0, 8.20.2.0, 8.20.1.0, 8.20.0.0, 8.19.0.0, 8.18.0.0, 8.17.0.0, 8.16.0.1, 8.16.0.0, 8.15.0.0, 8.14.0.0, 8.13.0.0, 8.12.0.0, 8.11.0.0, 8.10.0.0, 8.9.0.0, 8.8.0.0, 8.7.0.0, 8.6.1.0, 8.6.0.0, 8.5.0.0, 8.4.1.0, 8.4.0.0, 8.3.4.0, 8.3.3.0, 8.3.2.0, 8.3.1.0, 8.3.0.0, 8.2.1, 8.2.0, 8.1.2, 8.1.1, 8.0.0, 7.1.2.0, 7.1.1.0, 7.1.0, 7.0.0.0, 1.35.4, 1.35.3 (constraint from user target requires ==11.2.2.0)
> [__1] fail (backjumping, conflict set: cardano-api, cardano-cli)
> After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: cardano-api, cardano-cli
>
For full logs, run:
nix log /nix/store/3q7kv5hwhnkvyxi15iq50kcg8hswkl97-cardano-cli-plan-to-nix-pkgs.drv
Loading