An error occurred: failed to evaluate: failed to run: /nix/store/kd22v13hg1nxwyxhx8ikgm5lx96l5mhs-nix-2.24.11/bin/nix --extra-experimental-features nix-command eval --show-trace 'path:/nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source#handlers.aarch64-linux.default' --apply 'h: h { basePath = ""; body = "/nix/store/5n90qy4wsm9r91m8p8dslp37hsmlna17-body"; bodyHash = "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="; error = null; headers = { Accept = [ "*/*" ]; Accept-Encoding = [ "gzip, br, zstd, deflate" ]; User-Agent = [ "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ]; }; host = "nixpresso.dev"; method = "GET"; options = { allowStore = true; allowedModes = [ "serve" "log" "derivation" ]; allowedPaths = [ ]; allowedTypes = [ "string" "path" "derivation" ]; basePath = ""; evalCache = true; handler = "path:/nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source#handlers.aarch64-linux.default"; maxBuildTime = "10m0s"; maxEvalTime = "5m0s"; maxRequestBytes = 33554432; maxRequestTime = "5m0s"; maxResponseBytes = 134217728; maxRunTime = "10m0s"; nixArgs = [ ]; runArgs = [ ]; verbose = 10; }; path = "/run-script"; proto = "HTTP/2.0"; query = { }; remoteAddr = "18.117.11.129:52383"; tls = { cipherSuite = "TLS_AES_128_GCM_SHA256"; didResume = false; handshakeComplete = true; negotiatedProtocol = "h2"; peerCertificates = [ ]; serverName = "nixpresso.dev"; verifiedChains = [ ]; version = "TLS 1.3"; }; uri = "/run-script"; }' --json stderr: error: … while evaluating attribute 'headers' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:286:9: 285| // { 286| headers = mapAttrs (_: v: toList v) response.headers; | ^ 287| } … while evaluating attribute 'Nix' … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:286:32: 285| // { 286| headers = mapAttrs (_: v: toList v) response.headers; | ^ 287| } … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:286:35: 285| // { 286| headers = mapAttrs (_: v: toList v) response.headers; | ^ 287| } … while calling 'toList' at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/lists.nix:848:12: 847| */ 848| toList = x: if isList x then x else [x]; | ^ 849| … while evaluating a branch condition at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/lists.nix:848:15: 847| */ 848| toList = x: if isList x then x else [x]; | ^ 849| … while calling the 'isList' builtin at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/lists.nix:848:18: 847| */ 848| toList = x: if isList x then x else [x]; | ^ 849| … while calling anonymous lambda at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1570:24: 1569| let f = attrPath: 1570| zipAttrsWith (n: values: | ^ 1571| let here = attrPath ++ [n]; in … while evaluating a branch condition at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1572:9: 1571| let here = attrPath ++ [n]; in 1572| if length values == 1 | ^ 1573| || pred here (elemAt values 1) (head values) then … in the right operand of the OR (||) operator at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1573:9: 1572| if length values == 1 1573| || pred here (elemAt values 1) (head values) then | ^ 1574| head values … from call site at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1573:12: 1572| if length values == 1 1573| || pred here (elemAt values 1) (head values) then | ^ 1574| head values … while calling anonymous lambda at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1627:38: 1626| rhs: 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; | ^ 1628| … in the argument of the not operator at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1627:57: 1626| rhs: 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; | ^ 1628| … in the left operand of the AND (&&) operator at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1627:57: 1626| rhs: 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; | ^ 1628| … while calling the 'isAttrs' builtin at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1627:45: 1626| rhs: 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; | ^ 1628| … while calling the 'elemAt' builtin at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1573:23: 1572| if length values == 1 1573| || pred here (elemAt values 1) (head values) then | ^ 1574| head values (6 duplicate frames omitted) … while calling the 'head' builtin at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1574:11: 1573| || pred here (elemAt values 1) (head values) then 1574| head values | ^ 1575| else … while calling the 'concatStringsSep' builtin at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:272:17: 271| headers = { 272| Nix = concatStringsSep ", " headerComponents; | ^ 273| }; … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:258:16: 257| ] 258| ++ optional pty "pty" | ^ 259| ++ optional inPureEvalMode "pure" … while calling 'optional' at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/lists.nix:785:20: 784| */ 785| optional = cond: elem: if cond then [elem] else []; | ^ 786| … while evaluating a branch condition at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/lists.nix:785:26: 784| */ 785| optional = cond: elem: if cond then [elem] else []; | ^ 786| error: undefined variable 'pty' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:258:25: 257| ] 258| ++ optional pty "pty" | ^ 259| ++ optional inPureEvalMode "pure"