in job ‘aarch64-darwin.native.haskell96’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:7:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/a34ml648184sd57lalk8w20nx7113931-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/83qvgy80j88kgmgxd28b4wiw7q054qfc-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-darwin.native.haskell96’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:7:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/qihmkppdyj7qdlw1mrfi7ljbbdbdr87f-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/1dja2jn4crmqizbcg016ivh4x222w16l-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-darwin.required.native’:
error:
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:61:20:
60| name = "required-consensus";
61| constituents = lib.collect lib.isDerivation jobs;
| ^
62| };
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while calling the 'concatMap' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:871:7:
870| else if isAttrs attrs then
871| concatMap (collect pred) (attrValues attrs)
| ^
872| else
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:5:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:8:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… while calling 'isDerivation'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1283:5:
1282| isDerivation =
1283| value: value.type or null == "derivation";
| ^
1284|
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:7:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/qihmkppdyj7qdlw1mrfi7ljbbdbdr87f-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/1dja2jn4crmqizbcg016ivh4x222w16l-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘aarch64-darwin.required.native’:
error:
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:61:20:
60| name = "required-consensus";
61| constituents = lib.collect lib.isDerivation jobs;
| ^
62| };
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while calling the 'concatMap' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:871:7:
870| else if isAttrs attrs then
871| concatMap (collect pred) (attrValues attrs)
| ^
872| else
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:5:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:8:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… while calling 'isDerivation'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1283:5:
1282| isDerivation =
1283| value: value.type or null == "derivation";
| ^
1284|
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:7:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/a34ml648184sd57lalk8w20nx7113931-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/83qvgy80j88kgmgxd28b4wiw7q054qfc-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.formattingLinting.cabal-gild’:
error:
… while evaluating the 'name' attribute of a derivation
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:349:9:
348| in
349| lib.strings.sanitizeDerivationName (
| ^
350| if attrs ? name
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1192:3:
1191| in
1192| string:
| ^
1193| # First detect the common case of already valid strings, to speed those up
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:3:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the left operand of the AND (&&) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:33:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the argument of the not operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'lessThan' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'stringLength' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:6:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while evaluating the attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:30:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/formatting-linting.nix:6:14:
5| checkFormatting = tool: script: pkgs.runCommand
6| "check-${lib.getName tool}"
| ^
7| {
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:731:6:
730| parse = drv: (parseDrvName drv).name;
731| in x:
| ^
732| if isString x
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:5:
731| in x:
732| if isString x
| ^
733| then parse x
… while calling the 'isString' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:8:
731| in x:
732| if isString x
| ^
733| then parse x
… while evaluating the attribute 'cabal-gild'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:36:3:
35|
36| cabal-gild = tool "cabal-gild" "1.5.0.1" { };
| ^
37|
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:36:16:
35|
36| cabal-gild = tool "cabal-gild" "1.5.0.1" { };
| ^
37|
… while calling 'tool'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:6:25:
5| tool-index-state = "2025-03-18T17:41:11Z";
6| tool = name: version: other:
| ^
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:7:5:
6| tool = name: version: other:
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
| ^
8| version = version;
… while calling 'tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:83:35:
82|
83| tool = compiler-nix-name: name: versionOrMod:
| ^
84| final.haskell-nix.hackage-tool (
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:84:7:
83| tool = compiler-nix-name: name: versionOrMod:
84| final.haskell-nix.hackage-tool (
| ^
85| final.haskell-nix.haskellLib.versionOrModToMods versionOrMod
… while calling 'hackage-tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:66:18:
65|
66| hackage-tool = projectModules:
| ^
67| let
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:68:17:
67| let
68| package = final.haskell-nix.hackage-package (projectModules ++ [
| ^
69| ({lib, ...}: {
… while calling 'hackage-package'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:639:27:
638| # is required, a specific index-state should be provided!
639| hackage-package = projectModule:
| ^
640| let project = hackage-project projectModule;
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:641:14:
640| let project = hackage-project projectModule;
641| in project.getPackage project.args.name;
| ^
642| hackage-project = projectModule:
… while calling 'getPackage'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:853:26:
852| # cabal configure errors are defered until the components derivation builds.
853| getPackage = packageName:
| ^
854| if rawProject.pkg-set ? configurationError
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:854:15:
853| getPackage = packageName:
854| if rawProject.pkg-set ? configurationError
| ^
855| then
… while evaluating the attribute 'pkg-set'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:694:27:
693| inherit (pkg-set.config) hsPkgs;
694| inherit pkg-set;
| ^
695| inherit options;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of a path
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'cabal-gild-plan-to-nix-pkgs'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'cabal-gild-plan-to-nix-pkgs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:17:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:102:9:
101| in let
102| ghc = if ghc' ? latestVersion
| ^
103| then __trace "WARNING: ${ghc'.version} is out of date, consider using upgrading to ${ghc'.latestVersion}." ghc'
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:99:43:
98| #
99| (compilerSelection pkgs)."${compiler-nix-name}";
| ^
100|
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
… while evaluating the option `compiler-nix-name':
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:814:35:
813| # yield a value computed from the definitions
814| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;
| ^
815|
… while calling 'apply'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:15:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:21:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… while calling 'resolve-compiler-name'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/bootstrap.nix:39:29:
38| inherit compilerNameMap;
39| resolve-compiler-name = name: final.haskell-nix.compilerNameMap.${name} or name;
| ^
40| # Use this to disable the existing haskell infra structure for testing purposes
… while evaluating the attribute 'mergedValue'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:856:5:
855| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
856| mergedValue =
| ^
857| if isDefined then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:857:7:
856| mergedValue =
857| if isDefined then
| ^
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:850:9:
849| in {
850| values = defs''';
| ^
851| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:11:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:14:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:19:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while evaluating the attribute 'value._type'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:947:73:
946| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
947| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
948| in {
… while evaluating the attribute 'value.content'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:1028:24:
1027| { _type = "override";
1028| inherit priority content;
| ^
1029| };
… while evaluating the attribute 'hsPkgs.args.compiler-nix-name'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.formattingLinting.hlint’:
error: derivation 'x86_64-linux.native.formattingLinting.hlint' does not have valid outputs: error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'outPath'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/customisation.nix:352:13:
351| drvPath = assert condition; drv.${outputName}.drvPath;
352| outPath = assert condition; drv.${outputName}.outPath;
| ^
353| } //
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'hlint'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildInputs' of derivation 'hlint'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:378:7:
377| depsHostHost = elemAt (elemAt dependencies 1) 0;
378| buildInputs = elemAt (elemAt dependencies 1) 1;
| ^
379| depsTargetTarget = elemAt (elemAt dependencies 2) 0;
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:307:13:
306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
308| ]
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:307:18:
306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
308| ]
… while calling 'getOutput'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1796:23:
1795| */
1796| getOutput = output: pkg:
| ^
1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1797:5:
1796| getOutput = output: pkg:
1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified
| ^
1798| then pkg.${output} or pkg.out or pkg
… in the left operand of the OR (||) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1797:32:
1796| getOutput = output: pkg:
1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified
| ^
1798| then pkg.${output} or pkg.out or pkg
… in the argument of the not operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1797:10:
1796| getOutput = output: pkg:
1797| if ! pkg ? outputSpecified || ! pkg.outputSpecified
| ^
1798| then pkg.${output} or pkg.out or pkg
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:307:25:
306| (map (drv: getDev drv.__spliced.hostHost or drv) (checkDependencyList "depsHostHost" depsHostHost))
307| (map (drv: getDev drv.__spliced.hostTarget or drv) (checkDependencyList "buildInputs" buildInputs'))
| ^
308| ]
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/lists.nix:334:29:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/lists.nix:334:32:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:276:15:
275| imap1
276| (index: dep:
| ^
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:277:9:
276| (index: dep:
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
| ^
278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep
… in the left operand of the OR (||) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:277:69:
276| (index: dep:
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
| ^
278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep
… in the left operand of the OR (||) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:277:44:
276| (index: dep:
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
| ^
278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep
… in the left operand of the OR (||) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:277:29:
276| (index: dep:
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
| ^
278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:277:12:
276| (index: dep:
277| if isDerivation dep || dep == null || builtins.isString dep || builtins.isPath dep then dep
| ^
278| else if isList dep then checkDependencyList' ([index] ++ positions) name dep
… while calling 'isDerivation'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1283:5:
1282| isDerivation =
1283| value: value.type or null == "derivation";
| ^
1284|
… while calling the 'elemAt' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/lists.nix:334:43:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while evaluating the attribute 'hlint'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:38:3:
37|
38| hlint = tool "hlint" "3.8" { };
| ^
39|
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:38:11:
37|
38| hlint = tool "hlint" "3.8" { };
| ^
39|
… while calling 'tool'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:6:25:
5| tool-index-state = "2025-03-18T17:41:11Z";
6| tool = name: version: other:
| ^
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:7:5:
6| tool = name: version: other:
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
| ^
8| version = version;
… while calling 'tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:83:35:
82|
83| tool = compiler-nix-name: name: versionOrMod:
| ^
84| final.haskell-nix.hackage-tool (
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:84:7:
83| tool = compiler-nix-name: name: versionOrMod:
84| final.haskell-nix.hackage-tool (
| ^
85| final.haskell-nix.haskellLib.versionOrModToMods versionOrMod
… while calling 'hackage-tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:66:18:
65|
66| hackage-tool = projectModules:
| ^
67| let
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:68:17:
67| let
68| package = final.haskell-nix.hackage-package (projectModules ++ [
| ^
69| ({lib, ...}: {
… while calling 'hackage-package'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:639:27:
638| # is required, a specific index-state should be provided!
639| hackage-package = projectModule:
| ^
640| let project = hackage-project projectModule;
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:641:14:
640| let project = hackage-project projectModule;
641| in project.getPackage project.args.name;
| ^
642| hackage-project = projectModule:
… while calling 'getPackage'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:853:26:
852| # cabal configure errors are defered until the components derivation builds.
853| getPackage = packageName:
| ^
854| if rawProject.pkg-set ? configurationError
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:854:15:
853| getPackage = packageName:
854| if rawProject.pkg-set ? configurationError
| ^
855| then
… while evaluating the attribute 'pkg-set'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:694:27:
693| inherit (pkg-set.config) hsPkgs;
694| inherit pkg-set;
| ^
695| inherit options;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of a path
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'hlint-plan-to-nix-pkgs'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'hlint-plan-to-nix-pkgs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:17:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:102:9:
101| in let
102| ghc = if ghc' ? latestVersion
| ^
103| then __trace "WARNING: ${ghc'.version} is out of date, consider using upgrading to ${ghc'.latestVersion}." ghc'
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:99:43:
98| #
99| (compilerSelection pkgs)."${compiler-nix-name}";
| ^
100|
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
… while evaluating the option `compiler-nix-name':
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:814:35:
813| # yield a value computed from the definitions
814| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;
| ^
815|
… while calling 'apply'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:15:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:21:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… while calling 'resolve-compiler-name'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/bootstrap.nix:39:29:
38| inherit compilerNameMap;
39| resolve-compiler-name = name: final.haskell-nix.compilerNameMap.${name} or name;
| ^
40| # Use this to disable the existing haskell infra structure for testing purposes
… while evaluating the attribute 'mergedValue'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:856:5:
855| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
856| mergedValue =
| ^
857| if isDefined then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:857:7:
856| mergedValue =
857| if isDefined then
| ^
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:850:9:
849| in {
850| values = defs''';
| ^
851| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:11:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:14:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:19:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while evaluating the attribute 'value._type'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:947:73:
946| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
947| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
948| in {
… while evaluating the attribute 'value.content'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:1028:24:
1027| { _type = "override";
1028| inherit priority content;
| ^
1029| };
… while evaluating the attribute 'hsPkgs.args.compiler-nix-name'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.formattingLinting.stylish’:
error:
… while evaluating the 'name' attribute of a derivation
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:349:9:
348| in
349| lib.strings.sanitizeDerivationName (
| ^
350| if attrs ? name
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1192:3:
1191| in
1192| string:
| ^
1193| # First detect the common case of already valid strings, to speed those up
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:3:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the left operand of the AND (&&) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:33:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the argument of the not operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'lessThan' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'stringLength' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:6:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while evaluating the attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:30:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/formatting-linting.nix:6:14:
5| checkFormatting = tool: script: pkgs.runCommand
6| "check-${lib.getName tool}"
| ^
7| {
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:731:6:
730| parse = drv: (parseDrvName drv).name;
731| in x:
| ^
732| if isString x
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:5:
731| in x:
732| if isString x
| ^
733| then parse x
… while calling the 'isString' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:8:
731| in x:
732| if isString x
| ^
733| then parse x
… while evaluating the attribute 'stylish-haskell'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:34:3:
33|
34| stylish-haskell = tool "stylish-haskell" "0.14.6.0" { };
| ^
35|
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:34:21:
33|
34| stylish-haskell = tool "stylish-haskell" "0.14.6.0" { };
| ^
35|
… while calling 'tool'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:6:25:
5| tool-index-state = "2025-03-18T17:41:11Z";
6| tool = name: version: other:
| ^
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:7:5:
6| tool = name: version: other:
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
| ^
8| version = version;
… while calling 'tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:83:35:
82|
83| tool = compiler-nix-name: name: versionOrMod:
| ^
84| final.haskell-nix.hackage-tool (
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:84:7:
83| tool = compiler-nix-name: name: versionOrMod:
84| final.haskell-nix.hackage-tool (
| ^
85| final.haskell-nix.haskellLib.versionOrModToMods versionOrMod
… while calling 'hackage-tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:66:18:
65|
66| hackage-tool = projectModules:
| ^
67| let
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:68:17:
67| let
68| package = final.haskell-nix.hackage-package (projectModules ++ [
| ^
69| ({lib, ...}: {
… while calling 'hackage-package'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:639:27:
638| # is required, a specific index-state should be provided!
639| hackage-package = projectModule:
| ^
640| let project = hackage-project projectModule;
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:641:14:
640| let project = hackage-project projectModule;
641| in project.getPackage project.args.name;
| ^
642| hackage-project = projectModule:
… while calling 'getPackage'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:853:26:
852| # cabal configure errors are defered until the components derivation builds.
853| getPackage = packageName:
| ^
854| if rawProject.pkg-set ? configurationError
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:854:15:
853| getPackage = packageName:
854| if rawProject.pkg-set ? configurationError
| ^
855| then
… while evaluating the attribute 'pkg-set'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:694:27:
693| inherit (pkg-set.config) hsPkgs;
694| inherit pkg-set;
| ^
695| inherit options;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of a path
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'stylish-haskell-plan-to-nix-pkgs'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'stylish-haskell-plan-to-nix-pkgs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:17:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:102:9:
101| in let
102| ghc = if ghc' ? latestVersion
| ^
103| then __trace "WARNING: ${ghc'.version} is out of date, consider using upgrading to ${ghc'.latestVersion}." ghc'
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:99:43:
98| #
99| (compilerSelection pkgs)."${compiler-nix-name}";
| ^
100|
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
… while evaluating the option `compiler-nix-name':
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:814:35:
813| # yield a value computed from the definitions
814| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;
| ^
815|
… while calling 'apply'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:15:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:21:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… while calling 'resolve-compiler-name'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/bootstrap.nix:39:29:
38| inherit compilerNameMap;
39| resolve-compiler-name = name: final.haskell-nix.compilerNameMap.${name} or name;
| ^
40| # Use this to disable the existing haskell infra structure for testing purposes
… while evaluating the attribute 'mergedValue'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:856:5:
855| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
856| mergedValue =
| ^
857| if isDefined then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:857:7:
856| mergedValue =
857| if isDefined then
| ^
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:850:9:
849| in {
850| values = defs''';
| ^
851| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:11:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:14:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:19:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while evaluating the attribute 'value._type'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:947:73:
946| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
947| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
948| in {
… while evaluating the attribute 'value.content'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:1028:24:
1027| { _type = "override";
1028| inherit priority content;
| ^
1029| };
… while evaluating the attribute 'hsPkgs.args.compiler-nix-name'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.haskell810’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell810'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:46:7:
45| # ensure we can still build on 8.10, can be removed soon
46| haskell810 = builtins.removeAttrs
| ^
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
… while calling the 'removeAttrs' builtin
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:46:20:
45| # ensure we can still build on 8.10, can be removed soon
46| haskell810 = builtins.removeAttrs
| ^
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:47:10:
46| haskell810 = builtins.removeAttrs
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
| ^
48| [ "checks" "devShell" "devShellProfiled" ];
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs.projectVariants.ghc810'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.haskell910’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell910'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:51:7:
50| # also already test GHC 9.10, but only on Linux to reduce CI load
51| haskell910 = mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc910;
| ^
52| };
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:51:20:
50| # also already test GHC 9.10, but only on Linux to reduce CI load
51| haskell910 = mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc910;
| ^
52| };
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs.projectVariants.ghc910'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.haskell96’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:7:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:40:19:
39| native = {
40| haskell96 = mkHaskellJobsFor pkgs.hsPkgs;
| ^
41| } // lib.optionalAttrs (buildSystem == "x86_64-linux") {
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.native.formattingLinting.all’:
error:
… while evaluating the `constituents` attribute
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:984:20:
983| value:
984| { inherit name value; };
| ^
985|
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating the derivation attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7:
330| // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
331| name =
| ^
332| let
… while evaluating the `name` attribute passed to builtins.derivationStrict
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:349:9:
348| in
349| lib.strings.sanitizeDerivationName (
| ^
350| if attrs ? name
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1192:3:
1191| in
1192| string:
| ^
1193| # First detect the common case of already valid strings, to speed those up
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:3:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the left operand of the AND (&&) operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:33:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… in the argument of the not operator
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'lessThan' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:26:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while calling the 'stringLength' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:1194:6:
1193| # First detect the common case of already valid strings, to speed those up
1194| if stringLength string <= 207 && okRegex string != null
| ^
1195| then unsafeDiscardStringContext string
… while evaluating the attribute 'name'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:30:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/formatting-linting.nix:6:14:
5| checkFormatting = tool: script: pkgs.runCommand
6| "check-${lib.getName tool}"
| ^
7| {
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:731:6:
730| parse = drv: (parseDrvName drv).name;
731| in x:
| ^
732| if isString x
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:5:
731| in x:
732| if isString x
| ^
733| then parse x
… while calling the 'isString' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/strings.nix:732:8:
731| in x:
732| if isString x
| ^
733| then parse x
… while evaluating the attribute 'cabal-gild'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:36:3:
35|
36| cabal-gild = tool "cabal-gild" "1.5.0.1" { };
| ^
37|
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:36:16:
35|
36| cabal-gild = tool "cabal-gild" "1.5.0.1" { };
| ^
37|
… while calling 'tool'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:6:25:
5| tool-index-state = "2025-03-18T17:41:11Z";
6| tool = name: version: other:
| ^
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/tools.nix:7:5:
6| tool = name: version: other:
7| final.haskell-nix.tool final.hsPkgs.args.compiler-nix-name name ({
| ^
8| version = version;
… while calling 'tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:83:35:
82|
83| tool = compiler-nix-name: name: versionOrMod:
| ^
84| final.haskell-nix.hackage-tool (
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:84:7:
83| tool = compiler-nix-name: name: versionOrMod:
84| final.haskell-nix.hackage-tool (
| ^
85| final.haskell-nix.haskellLib.versionOrModToMods versionOrMod
… while calling 'hackage-tool'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:66:18:
65|
66| hackage-tool = projectModules:
| ^
67| let
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/tools.nix:68:17:
67| let
68| package = final.haskell-nix.hackage-package (projectModules ++ [
| ^
69| ({lib, ...}: {
… while calling 'hackage-package'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:639:27:
638| # is required, a specific index-state should be provided!
639| hackage-package = projectModule:
| ^
640| let project = hackage-project projectModule;
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:641:14:
640| let project = hackage-project projectModule;
641| in project.getPackage project.args.name;
| ^
642| hackage-project = projectModule:
… while calling 'getPackage'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:853:26:
852| # cabal configure errors are defered until the components derivation builds.
853| getPackage = packageName:
| ^
854| if rawProject.pkg-set ? configurationError
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:854:15:
853| getPackage = packageName:
854| if rawProject.pkg-set ? configurationError
| ^
855| then
… while evaluating the attribute 'pkg-set'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:694:27:
693| inherit (pkg-set.config) hsPkgs;
694| inherit pkg-set;
| ^
695| inherit options;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of a path
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:50:17:
49| value = commonAttrs // {
50| outPath = builtins.getAttr outputName strict;
| ^
51| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:37:12:
36|
37| strict = derivationStrict drvAttrs;
| ^
38|
… while evaluating derivation 'cabal-gild-plan-to-nix-pkgs'
whose name attribute is located at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'cabal-gild-plan-to-nix-pkgs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/pkgs/build-support/trivial-builders/default.nix:68:17:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:102:9:
101| in let
102| ghc = if ghc' ? latestVersion
| ^
103| then __trace "WARNING: ${ghc'.version} is out of date, consider using upgrading to ${ghc'.latestVersion}." ghc'
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/call-cabal-project-to-nix.nix:99:43:
98| #
99| (compilerSelection pkgs)."${compiler-nix-name}";
| ^
100|
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
… while evaluating the option `compiler-nix-name':
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:814:35:
813| # yield a value computed from the definitions
814| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue;
| ^
815|
… while calling 'apply'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:15:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/modules/cabal-project.nix:21:21:
20| # Map short version names to the latest GHC version.
21| apply = name: pkgs.haskell-nix.resolve-compiler-name name;
| ^
22| };
… while calling 'resolve-compiler-name'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/bootstrap.nix:39:29:
38| inherit compilerNameMap;
39| resolve-compiler-name = name: final.haskell-nix.compilerNameMap.${name} or name;
| ^
40| # Use this to disable the existing haskell infra structure for testing purposes
… while evaluating the attribute 'mergedValue'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:856:5:
855| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
856| mergedValue =
| ^
857| if isDefined then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:857:7:
856| mergedValue =
857| if isDefined then
| ^
858| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:850:9:
849| in {
850| values = defs''';
| ^
851| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:11:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:14:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while calling anonymous lambda
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:846:19:
845| # Avoid sorting if we don't have to.
846| if any (def: def.value._type or "" == "order") defs''.values
| ^
847| then sortProperties defs''.values
… while evaluating the attribute 'value._type'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:947:73:
946| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
947| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
| ^
948| in {
… while evaluating the attribute 'value.content'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:1028:24:
1027| { _type = "override";
1028| inherit priority content;
| ^
1029| };
… while evaluating the attribute 'hsPkgs.args.compiler-nix-name'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.required.windows’:
error:
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:61:20:
60| name = "required-consensus";
61| constituents = lib.collect lib.isDerivation jobs;
| ^
62| };
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while calling the 'concatMap' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:871:7:
870| else if isAttrs attrs then
871| concatMap (collect pred) (attrValues attrs)
| ^
872| else
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:5:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:8:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… while calling 'isDerivation'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1283:5:
1282| isDerivation =
1283| value: value.type or null == "derivation";
| ^
1284|
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:55:7:
54| windows = {
55| haskell96 = mkHaskellJobsFor pkgs.hsPkgs.projectCross.mingwW64;
| ^
56| };
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:55:19:
54| windows = {
55| haskell96 = mkHaskellJobsFor pkgs.hsPkgs.projectCross.mingwW64;
| ^
56| };
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs.projectCross.mingwW64'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.windows.haskell96’:
error:
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell96'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:55:7:
54| windows = {
55| haskell96 = mkHaskellJobsFor pkgs.hsPkgs.projectCross.mingwW64;
| ^
56| };
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:55:19:
54| windows = {
55| haskell96 = mkHaskellJobsFor pkgs.hsPkgs.projectCross.mingwW64;
| ^
56| };
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs.projectCross.mingwW64'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build
in job ‘x86_64-linux.required.native’:
error:
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:61:20:
60| name = "required-consensus";
61| constituents = lib.collect lib.isDerivation jobs;
| ^
62| };
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while calling the 'concatMap' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:871:7:
870| else if isAttrs attrs then
871| concatMap (collect pred) (attrValues attrs)
| ^
872| else
… while calling 'collect'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:867:5:
866| pred:
867| attrs:
| ^
868| if pred attrs then
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:5:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… from call site
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:868:8:
867| attrs:
868| if pred attrs then
| ^
869| [ attrs ]
… while calling 'isDerivation'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1283:5:
1282| isDerivation =
1283| value: value.type or null == "derivation";
| ^
1284|
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:13:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while calling the 'isAttrs' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:690:16:
689| (nameValuePair name (
690| if isAttrs v then filterAttrsRecursive pred v
| ^
691| else v
… while evaluating the attribute 'haskell810'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:46:7:
45| # ensure we can still build on 8.10, can be removed soon
46| haskell810 = builtins.removeAttrs
| ^
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
… while calling the 'removeAttrs' builtin
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:46:20:
45| # ensure we can still build on 8.10, can be removed soon
46| haskell810 = builtins.removeAttrs
| ^
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:47:10:
46| haskell810 = builtins.removeAttrs
47| (mkHaskellJobsFor pkgs.hsPkgs.projectVariants.ghc810)
| ^
48| [ "checks" "devShell" "devShellProfiled" ];
… while calling 'mkHaskellJobsFor'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:8:22:
7|
8| mkHaskellJobsFor = hsPkgs:
| ^
9| let
… in the right operand of the update (//) operator
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:7:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/ci.nix:31:10:
30| haskellLib.collectChecks' projectHsPkgs;
31| } // lib.optionalAttrs noCross {
| ^
32| devShell =
… while calling 'optionalAttrs'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1352:5:
1351| cond:
1352| as:
| ^
1353| if cond then as else {};
… while evaluating a branch condition
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1353:5:
1352| as:
1353| if cond then as else {};
| ^
1354|
… while evaluating the attribute 'hsPkgs.projectVariants.ghc810'
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:59:11:
58| {
59| inherit hsPkgs;
| ^
60| }
… from call site
at /nix/store/cjxxf5k02vb8125617yrs4ckwx1yc536-source/nix/haskell.nix:15:12:
14| };
15| hsPkgs = haskell-nix.cabalProject {
| ^
16| src = ./..;
… while calling 'cabalProject'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:927:24:
926|
927| cabalProject = args: let p = cabalProject' args;
| ^
928| in p.hsPkgs // p;
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:928:25:
927| cabalProject = args: let p = cabalProject' args;
928| in p.hsPkgs // p;
| ^
929|
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:15:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'mapAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:725:24:
724| # Haskell packages
725| hsPkgs = final.lib.mapAttrs (packageName: package':
| ^
726| if package' == null
… while calling the 'removeAttrs' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:759:20:
758| }
759| ) (builtins.removeAttrs rawProject.hsPkgs
| ^
760| # These are functions not packages
… while evaluating the attribute 'hsPkgs'
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:693:44:
692| project = addProjectAndPackageAttrs rec {
693| inherit (pkg-set.config) hsPkgs;
| ^
694| inherit pkg-set;
… while evaluating a branch condition
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:664:25:
663| else project;
664| pkg-set = if plan-pkgs ? configurationError
| ^
665| then {
… from call site
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/overlays/haskell.nix:658:27:
657| callProjectResults = callCabalProjectToNix config;
658| plan-pkgs = importAndFilterProject {
| ^
659| inherit (callProjectResults) projectNix sourceRepos src;
… while calling anonymous lambda
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:5:1:
4| { pkgs, haskellLib }:
5| { projectNix, sourceRepos, src }:
| ^
6| let
… in the left operand of the update (//) operator
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:17:12:
16| project = import "${projectNix}${projectSubDir'}";
17| in project // {
| ^
18| extras = hackage: let
… while calling the 'import' builtin
at /nix/store/1ab5mjxdr6rj1gj9ix6c7hw3ky4qbn8v-source/lib/import-and-filter-project.nix:16:13:
15| projectSubDir' = src.origSubDir or ""; # With leading / # Without / # With trailing /
16| project = import "${projectNix}${projectSubDir'}";
| ^
17| in project // {
… while realising the context of path '/nix/store/l5q39jg4pz86hibv2mfhzblv4y0yv6h5-haskell-project-plan-to-nix-pkgs'
error: 1 dependencies of derivation '/nix/store/zamw06rxwh1pk1m919xlndss79da3n9f-haskell-project-plan-to-nix-pkgs.drv' failed to build