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:x86_64-linux.ghc914.packages
failed
Sep 2, 2026 in 5s
Evaluation failed
Checkout took 45s.
Evaluation took 4 min 5s.
Details
Evaluation error:
error:
… from call site
at /nix/store/v0a7dq708bk8262yfls3k68ldp74d7bp-source/lib/default.nix:533:22:
532| , haskellPackages ? selectPackages project.hsPkgs
533| , packages ? mkFlakePackages haskellPackages
| ^
534| , apps ? mkFlakeApps haskellPackages
… 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: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/5dwixhl3a5q3iwz3gddbybczkc8vdjvg-cardano-cli-plan-to-nix-pkgs/plan.json'
error: Cannot build '/nix/store/f4cmcwpc5dcdaj5ixs6plyjvdv01wffm-cardano-cli-plan-to-nix-pkgs.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/520xndpygvf2lzh6x15jssi3xcsmv3ln-cardano-cli-plan-to-nix-pkgs-freeze
/nix/store/5dwixhl3a5q3iwz3gddbybczkc8vdjvg-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 | 26.55 MiB/s, done.
> Resolving deltas: 100% (40/40), done.
> From file:///nix/store/8gm388jffa56bxb8dnbic8ks8jxqpsll-source-repository-package
> * branch minimal -> FETCH_HEAD
> HEAD is now at 970af40 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/f4cmcwpc5dcdaj5ixs6plyjvdv01wffm-cardano-cli-plan-to-nix-pkgs.drv
Loading