This evaluation was performed from the flake github:input-output-hk/cardano-haskell-packages/0e42b14f173e4a2b388c652f9aa9b67b8e41ea36 on . Fetching the dependencies took 0s and evaluation took 47s.

Couldn't find an evaluation to compare to.

Errors occurred at .

in job ‘aarch64-linux."ghc8107/cardano-ledger-api/1.2.0.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-ledger-api-1.2.0.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-ledger-api-1.2.0.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/cardano-ledger-api/1.2.0.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-ledger-api-1.2.0.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-ledger-api-1.2.0.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/ouroboros-network/0.8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-network-0.8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-network'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-network-0.8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/cardano-api/8.2.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-api-8.2.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-api-8.2.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/plutus-ledger-api/1.7.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-api-1.7.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-api-1.7.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/plutus-ledger-api/1.7.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-api-1.7.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-api-1.7.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/ouroboros-consensus-cardano/0.6.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-consensus-cardano-0.6.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-consensus-cardano'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-consensus-cardano-0.6.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/ouroboros-network/0.8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-network-0.8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-network'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-network-0.8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/ouroboros-consensus-cardano/0.6.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-consensus-cardano-0.6.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-consensus-cardano'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-consensus-cardano-0.6.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/plutus-ledger/1.2.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-1.2.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-1.2.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/cardano-node/8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-node-8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-node'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-node-8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

# Job Finished at Package/release name System
Aborted 7970 aarch64-darwin."ghc927/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 aarch64-darwin
Aborted 7998 aarch64-darwin."ghc927/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 aarch64-darwin
Aborted 7978 aarch64-darwin."ghc927/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 aarch64-darwin
Aborted 7977 aarch64-darwin."ghc927/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 aarch64-darwin
# Job Finished at Package/release name System
# Job Finished at Package/release name System
# Job Finished at Package/release name System
Succeeded 7986 aarch64-darwin."ghc8107/cardano-api/8.2.0.0" cardano-api-8.2.0.0 aarch64-darwin
Succeeded 7989 aarch64-darwin."ghc8107/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 aarch64-darwin
Succeeded 7976 aarch64-darwin."ghc8107/cardano-node/8.1.1" cardano-node-8.1.1 aarch64-darwin
Succeeded 7979 aarch64-darwin."ghc8107/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 aarch64-darwin
Succeeded 7980 aarch64-darwin."ghc8107/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 aarch64-darwin
Succeeded 7995 aarch64-darwin."ghc8107/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 aarch64-darwin
Succeeded 7999 aarch64-darwin."ghc8107/plutus-ledger/1.2.0.0" plutus-ledger-1.2.0.0 aarch64-darwin
Succeeded 7972 x86_64-darwin."ghc8107/cardano-api/8.2.0.0" cardano-api-8.2.0.0 x86_64-darwin
Succeeded 7987 x86_64-darwin."ghc8107/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 x86_64-darwin
Succeeded 7988 x86_64-darwin."ghc8107/cardano-node/8.1.1" cardano-node-8.1.1 x86_64-darwin
Succeeded 7975 x86_64-darwin."ghc8107/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 x86_64-darwin
Succeeded 7982 x86_64-darwin."ghc8107/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 x86_64-darwin
Succeeded 7984 x86_64-darwin."ghc8107/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 x86_64-darwin
Succeeded 7992 x86_64-darwin."ghc8107/plutus-ledger/1.2.0.0" plutus-ledger-1.2.0.0 x86_64-darwin
Succeeded 7997 x86_64-darwin."ghc927/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 x86_64-darwin
Succeeded 7991 x86_64-darwin."ghc927/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 x86_64-darwin
Succeeded 7974 x86_64-darwin."ghc927/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 x86_64-darwin
Succeeded 7971 x86_64-darwin."ghc927/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 x86_64-darwin
Succeeded 8002 x86_64-linux."ghc8107/cardano-api/8.2.0.0" cardano-api-8.2.0.0 x86_64-linux
Succeeded 7990 x86_64-linux."ghc8107/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 x86_64-linux
Succeeded 7981 x86_64-linux."ghc8107/cardano-node/8.1.1" cardano-node-8.1.1 x86_64-linux
Succeeded 7983 x86_64-linux."ghc8107/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 x86_64-linux
Succeeded 7993 x86_64-linux."ghc8107/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 x86_64-linux
Succeeded 7973 x86_64-linux."ghc8107/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 x86_64-linux
Succeeded 7994 x86_64-linux."ghc8107/plutus-ledger/1.2.0.0" plutus-ledger-1.2.0.0 x86_64-linux
Succeeded 7996 x86_64-linux."ghc927/cardano-ledger-api/1.2.0.1" cardano-ledger-api-1.2.0.1 x86_64-linux
Succeeded 8001 x86_64-linux."ghc927/ouroboros-consensus-cardano/0.6.0.0" ouroboros-consensus-cardano-0.6.0.0 x86_64-linux
Succeeded 7985 x86_64-linux."ghc927/ouroboros-network/0.8.1.1" ouroboros-network-0.8.1.1 x86_64-linux
Succeeded 8000 x86_64-linux."ghc927/plutus-ledger-api/1.7.0.0" plutus-ledger-api-1.7.0.0 x86_64-linux
JobSystem
# Job Finished at Package/release name System
# Job Finished at Package/release name System
# Job Finished at Package/release name System
NameTypeValueRevisionStore path

Errors occurred at .

in job ‘aarch64-linux."ghc8107/cardano-ledger-api/1.2.0.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-ledger-api-1.2.0.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-ledger-api-1.2.0.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/cardano-ledger-api/1.2.0.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-ledger-api-1.2.0.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-ledger-api-1.2.0.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/ouroboros-network/0.8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-network-0.8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-network'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-network-0.8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/cardano-api/8.2.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-api-8.2.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-api-8.2.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/plutus-ledger-api/1.7.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-api-1.7.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-api-1.7.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/plutus-ledger-api/1.7.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-api-1.7.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger-api'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-api-1.7.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/ouroboros-consensus-cardano/0.6.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-consensus-cardano-0.6.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-consensus-cardano'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-consensus-cardano-0.6.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/ouroboros-network/0.8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-network-0.8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-network'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-network-0.8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc927/ouroboros-consensus-cardano/0.6.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'ouroboros-consensus-cardano-0.6.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.ouroboros-consensus-cardano'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'ouroboros-consensus-cardano-0.6.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/plutus-ledger/1.2.0.0"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'plutus-ledger-1.2.0.0'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.plutus-ledger'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'plutus-ledger-1.2.0.0-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}

in job ‘aarch64-linux."ghc8107/cardano-node/8.1.1"’:
error:
       … while evaluating the attribute 'constituents' of the derivation 'cardano-node-8.1.1'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/2rlh5g2vh2afsrfjvhf8sy06pm7g95ny-source/nix/builder.nix:70:28:

           69|             # does Hackage).
           70|             constituents = haskellLib.getAllComponents project.hsPkgs.${package-name};
             |                            ^
           71|           } // {

       … while calling 'foldComponents'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:40:31:

           39|
           40|   foldComponents = tys: f: z: conf:
             |                               ^
           41|     let

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:50:8:

           49|           tys;
           50|     in libComp (subComps z);
             |        ^
           51|

       … while calling 'libComp'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/default.nix:44:17:

           43|       # ensure that comps.library exists and is not null.
           44|       libComp = acc: if (comps.library or null) != null then f comps.library acc else acc;
             |                 ^
           45|       subComps = acc:

       … while evaluating the attribute 'hsPkgs.cardano-node'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:721:15:

          720|               # Haskell packages
          721|               hsPkgs = final.lib.mapAttrs (packageName: package':
             |               ^
          722|                 if package' == null

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:691:43:

          690|               project = addProjectAndPackageAttrs rec {
          691|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          692|                   inherit pkg-set;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/overlays/haskell.nix:656:27:

          655|               callProjectResults = callCabalProjectToNix args;
          656|               plan-pkgs = importAndFilterProject {
             |                           ^
          657|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … while realising the context of a path

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/import-and-filter-project.nix:18:13:

           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /
           18|   project = import "${projectNix}${projectSubDir'}";
             |             ^
           19| in project // {

       … while evaluating the attribute 'buildCommand' of the derivation 'cardano-node-8.1.1-plan-to-nix-pkgs'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'dot-cabal'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'cabal-bootstrap-index-tarball-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'buildCommand' of the derivation 'hackage-repo-hackage.haskell.org'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'postFetch' of the derivation '01-index.tar.gz-at-2023-06-20T000000Z'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating the attribute 'paths' of the derivation 'nix-tools'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:302:7:

          301|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          302|       name =
             |       ^
          303|         let

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/make-derivation.nix:504:14:

          503|
          504|   validity = checkMeta { inherit meta attrs; };
             |              ^
          505|

       … while calling 'assertValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:393:20:

          392|
          393|   assertValidity = { meta, attrs }: let
             |                    ^
          394|       validity = checkValidity attrs;

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:394:18:

          393|   assertValidity = { meta, attrs }: let
          394|       validity = checkValidity attrs;
             |                  ^
          395|     in validity // {

       … while calling 'checkValidity'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:343:19:

          342|   # Along with a boolean flag for each reason
          343|   checkValidity = attrs:
             |                   ^
          344|     # Check meta attribute types first, to make sure it is always called even when there are other issues

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:362:13:

          361|     # --- Put checks that can be ignored here ---
          362|     else if hasDeniedUnfreeLicense attrs && !(hasAllowlistedLicense attrs) then
             |             ^
          363|       { valid = "no"; reason = "unfree"; errormsg = "has an unfree license (‘${showLicense attrs.meta.license}’)"; }

       … while calling 'hasDeniedUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:77:28:

           76|   # `allowUnfreePredicate` function.
           77|   hasDeniedUnfreeLicense = attrs:
             |                            ^
           78|     hasUnfreeLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:78:5:

           77|   hasDeniedUnfreeLicense = attrs:
           78|     hasUnfreeLicense attrs &&
             |     ^
           79|     !allowUnfree &&

       … while calling 'hasUnfreeLicense'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:51:22:

           50|
           51|   hasUnfreeLicense = attrs:
             |                      ^
           52|     hasLicense attrs &&

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:53:5:

           52|     hasLicense attrs &&
           53|     isUnfree (lib.lists.toList attrs.meta.license);
             |     ^
           54|

       … while calling 'isUnfree'

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:14:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |              ^
           50|

       … while evaluating call site

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:24:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                        ^
           50|

       … while calling anonymous lambda

       at /nix/store/1pzsf1gr27zzj8rkzy1q59dxacshpf5k-source/pkgs/stdenv/generic/check-meta.nix:49:39:

           48|
           49|   isUnfree = licenses: lib.lists.any (l: !l.free or true) licenses;
             |                                       ^
           50|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:18:14:

           17|    then otherLicenseWarning license
           18|    else map (lic: license-map.${lic} or (otherLicenseWarning lic))
             |              ^
           19|             (pkgs.lib.unique (head licenses)._1)

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/cabal.nix:9:17:

            8|   # the sharing)
            9|   license-map = import ../cabal-licenses.nix pkgs;
             |                 ^
           10|   otherLicenseWarning = lic:

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:1:1:

            1| pkgs:
             | ^
            2| let licenses = import spdx/licenses.nix pkgs;

       … while evaluating call site

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/cabal-licenses.nix:2:16:

            1| pkgs:
            2| let licenses = import spdx/licenses.nix pkgs;
             |                ^
            3| in licenses // {

       … while calling anonymous lambda

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:1:1:

            1| pkgs:
             | ^
            2| with builtins; let

       … while realising the context of path '/nix/store/qhg01i6cnkpvpnn2ysw34ddllq35rixj-spdx-json/licenses.json'

       at /nix/store/p70m5h4p3rjr7qcp0v00s9ka47ymzbvv-source/lib/spdx/licenses.nix:8:8:

            7|       [ "&" "'" "=" ]
            8|       (readFile "${pkgs.buildPackages.haskell-nix.materialize {
             |        ^
            9|         materialized = if pathExists materialized' then materialized' else null;

       error: a 'aarch64-linux' with features {} is required to build '/nix/store/4wm7p66imfpblm58ifi1y20dhj3j5qxf-spdx-json.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}