Skip to content

Add the Leios protocol parameters to pparams updates - #1333

Open
ch1bo wants to merge 1 commit into
leios-prototypefrom
ch1bo/leios-pparam-updates
Open

Add the Leios protocol parameters to pparams updates#1333
ch1bo wants to merge 1 commit into
leios-prototypefrom
ch1bo/leios-pparam-updates

Add the Leios protocol parameters to pparams updates

ed01aa0
Select commit
Loading
Failed to load commit list.
IOG Hydra / ci/eval:aarch64-darwin.checks failed Sep 9, 2026 in 5s

Evaluation failed

Checkout took 4s.
Evaluation took 6 min 20s.

Details

Evaluation error:

error:
       … from call site
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:1529:11:
         1528|         zipAttrsWith (
         1529|           n: values:
             |           ^
         1530|           let

       … while calling anonymous lambda
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:1529:14:
         1528|         zipAttrsWith (
         1529|           n: values:
             |              ^
         1530|           let

       … while calling the 'head' builtin
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:1534:13:
         1533|           if length values == 1 || pred here (elemAt values 1) (head values) then
         1534|             head values
             |             ^
         1535|           else

       (6 duplicate frames omitted)

       … from call site
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-source/lib/default.nix:535:20:
          534|         , apps ? mkFlakeApps haskellPackages
          535|         , checks ? mkFlakeChecks (collectChecks' haskellPackages)
             |                    ^
          536|         , coverage ? {}

       … while calling 'mkFlakeChecks'
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-source/lib/default.nix:485:5:
          484|   mkFlakeChecks = allChecks:
          485|     foldrAttrVals
             |     ^
          486|       (package: acc:

       … while calling 'foldrAttrVals'
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/lists.nix:139:14:
          138|   foldr =
          139|     op: nul: list:
             |              ^
          140|     let

       … from call site
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/lists.nix:144:5:
          143|     in
          144|     fold' 0;
             |     ^
          145|

       … while calling 'fold''
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/lists.nix:142:15:
          141|       len = length list;
          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
             |               ^
          143|     in

       … while evaluating a branch condition
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/lists.nix:142:18:
          141|       len = length list;
          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));
             |                  ^
          143|     in

       … while calling the 'length' builtin
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/lists.nix:141:13:
          140|     let
          141|       len = length list;
             |             ^
          142|       fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1));

       … while calling the 'attrValues' builtin
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-source/lib/default.nix:494:8:
          493|       { }
          494|       (removeRecurseForDerivations allChecks);
             |        ^
          495|

       … while calling 'removeRecurseForDerivations'
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-source/lib/default.nix:535:35:
          534|         , apps ? mkFlakeApps haskellPackages
          535|         , checks ? mkFlakeChecks (collectChecks' haskellPackages)
             |                                   ^
          536|         , coverage ? {}

       … while calling 'collectChecks'
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:2021:22:
         2020|   */
         2021|   recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
             |                      ^
         2022|

       … in the left operand of the update (//) operator
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:2021:29:
         2020|   */
         2021|   recurseIntoAttrs = attrs: attrs // { recurseForDerivations = true; };
             |                             ^
         2022|

       … from call site
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:23:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                       ^
          658|

       … while calling the 'removeAttrs' builtin
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:28:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                            ^
          658|

       … while calling the 'mapAttrs' builtin
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:23:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                       ^
          658|

       … while calling the 'removeAttrs' builtin
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:28:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                            ^
          658|

       … from call site
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:23:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                       ^
          658|

       … while calling the 'removeAttrs' builtin
         at /nix/store/5j5y90a6m6jssvg2xybf86xgkjfa4zab-source/lib/attrsets.nix:657:28:
          656|   */
          657|   filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set));
             |                            ^
          658|

       … while evaluating the attribute 'hsPkgs'
         at /nix/store/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/yc40ffx8c748ijrqf6rd5w15xma3c7hv-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/8742r9pbd1b617vm2gz3svk18hl9i3fc-cardano-api-plan-to-nix-pkgs/plan.json'

       error: Cannot build '/nix/store/n3dsnpmwcnznl63kp7qs9flwii7wdx4s-cardano-api-plan-to-nix-pkgs.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/0273pg6r7xkmb1czwr243gpiyk2p37vp-cardano-api-plan-to-nix-pkgs-freeze
         /nix/store/8742r9pbd1b617vm2gz3svk18hl9i3fc-cardano-api-plan-to-nix-pkgs
       Last 25 log lines:
       > remote: Enumerating objects: 2494, done.
       > remote: Counting objects: 100% (2494/2494), done.
       > remote: Compressing objects: 100% (2090/2090), done.
       > remote: Total 2494 (delta 387), reused 0 (delta 0), pack-reused 0 (from 0)
       > Receiving objects: 100% (2494/2494), 28.50 MiB | 21.97 MiB/s, done.
       > Resolving deltas: 100% (387/387), done.
       > From file:///nix/store/lgpc86pyx0xhrg08c83chihzirk3b02l-source-repository-package
       >  * branch            minimal    -> FETCH_HEAD
       > HEAD is now at 024825b Minimal Repo For Haskell.Nix
       > Cloning into '/nix/var/nix/builds/nix-97139-2805185097/tmp.KQRC13VAuB/dist-newstyle/src/x2r4zf4xq_-8bf15657594ea37be14c61ffc69d3fe2740ff5db90be4a636adc1a0a59956dd2'...
       > remote: Enumerating objects: 492, done.
       > remote: Counting objects: 100% (492/492), done.
       > remote: Compressing objects: 100% (386/386), done.
       > remote: Total 492 (delta 36), reused 0 (delta 0), pack-reused 0 (from 0)
       > Receiving objects: 100% (492/492), 515.73 KiB | 15.17 MiB/s, done.
       > Resolving deltas: 100% (36/36), done.
       > From file:///nix/store/x2r4zf4xqngsiyc0bhlqpssgdakcdvlw-source-repository-package
       >  * branch            minimal    -> FETCH_HEAD
       > HEAD is now at 3e6eebe Minimal Repo For Haskell.Nix
       > Warning: The package list for 'hackage.haskell.org' is 20705 days old.
       > Run 'cabal update' to get the latest list of available packages.
       > Error: [Cabal-7159]
       > Latest known index-state for 'hackage.haskell.org' (2026-08-03T03:25:45Z) is older than the requested index-state (2026-09-02T14:05:07Z).
       > Run 'cabal update' or set the index-state to a value at or before 2026-08-03T03:25:45Z.
       >
       For full logs, run:
         nix log /nix/store/n3dsnpmwcnznl63kp7qs9flwii7wdx4s-cardano-api-plan-to-nix-pkgs.drv