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 = "/path-local"; proto = "HTTP/2.0"; query = { }; remoteAddr = "3.132.215.146:27658"; tls = { cipherSuite = "TLS_AES_128_GCM_SHA256"; didResume = false; handshakeComplete = true; negotiatedProtocol = "h2"; peerCertificates = [ ]; serverName = "nixpresso.dev"; verifiedChains = [ ]; version = "TLS 1.3"; }; uri = "/path-local"; }' --json stderr: error: … while calling anonymous lambda at «string»:1:1: 1| h: h { | ^ 2| basePath = ""; … while calling a functor (an attribute set with a '__functor' attribute) at «string»:1:4: 1| h: h { | ^ 2| basePath = ""; … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:280:7: 279| updateHandler handler ( 280| request: | ^ 281| let … in the left operand of the update (//) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:285:7: 284| response 285| // { | ^ 286| headers = mapAttrs (_: v: toList v) response.headers; … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:282:20: 281| let 282| response = handler request; | ^ 283| in … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:248:7: 247| updateHandler handlerFn ( 248| request: | ^ 249| let … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:270:7: 269| in 270| recursiveUpdate response { | ^ 271| headers = { … while calling 'recursiveUpdate' at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1626:5: 1625| lhs: 1626| rhs: | ^ 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; … from call site at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1627:5: 1626| rhs: 1627| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs; | ^ 1628| … while calling 'recursiveUpdateUntil' at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1568:5: 1567| lhs: 1568| rhs: | ^ 1569| let f = attrPath: … while calling the 'zipAttrsWith' builtin at /nix/store/nvs6jqgpczs1km8vm19m90hfmhpaywbk-source/lib/attrsets.nix:1578:8: 1577| ); 1578| in f [] [rhs lhs]; | ^ 1579| … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:250:20: 249| let 250| response = handlerFn request; | ^ 251| headerComponents = … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:102:7: 101| updateHandler handler ( 102| { options, ... }@request: | ^ 103| let … while evaluating a branch condition at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:106:7: 105| in 106| if !elem response.mode options.allowedModes then | ^ 107| handlers.htmlError { … in the argument of the not operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:106:11: 105| in 106| if !elem response.mode options.allowedModes then | ^ 107| handlers.htmlError { … while calling the 'elem' builtin at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:106:11: 105| in 106| if !elem response.mode options.allowedModes then | ^ 107| handlers.htmlError { … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:104:20: 103| let 104| response = handler request; | ^ 105| in … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:202:7: 201| updateHandler handler ( 202| request: | ^ 203| let … in the left operand of the update (//) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:242:16: 241| in 242| response // responseFixup | ^ 243| ); … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:204:20: 203| let 204| response = handler request; | ^ 205| … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:293:7: 292| updateHandler handler ( 293| { error, headers, ... }@request: | ^ 294| let … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:329:9: 328| else 329| handler request | ^ 330| ); … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:171:7: 170| updateHandler handlerFn ( 171| { options, ... }@request: | ^ 172| let … in the left operand of the update (//) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:194:7: 193| response 194| // { | ^ 195| headers = headersCaching // response.headers; … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:173:20: 172| let 173| response = handlerFn request; | ^ 174| meta = handlerFn.meta or { }; … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:152:7: 151| updateHandler handler ( 152| request: | ^ 153| let … while evaluating a branch condition at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:165:7: 164| in 165| if isCached then responseCached else responseUncached | ^ 166| ); … in the left operand of the AND (&&) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:159:64: 158| 159| isCached = responseETag != null && requestETag != null && responseETag == requestETag; | ^ 160| … in the left operand of the AND (&&) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:159:41: 158| 159| isCached = responseETag != null && requestETag != null && responseETag == requestETag; | ^ 160| … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:154:28: 153| let 154| responseUncached = handler request; | ^ 155| … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling 'handlerWithBody' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:130:9: 129| handlerWithBody = 130| { | ^ 131| bodyHash, … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:145:9: 144| in 145| handler requestWithBody; | ^ 146| in … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:104:7: 103| { 104| __functor = newFct.__functor; | ^ 105| __functionArgs = oldArgs // newArgs; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:80:7: 79| updateHandler handler ( 80| request: | ^ 81| let … in the right operand of the update (//) operator at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:84:24: 83| in 84| responseDefaults // response | ^ 85| ); … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/response.nix:82:20: 81| let 82| response = handler request; | ^ 83| in … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:68:7: 67| { 68| __functor = self: handler; | ^ 69| __functionArgs = newArgs; … while calling 'handler' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:57:9: 56| handler = 57| request: | ^ 58| let … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:63:30: 62| matchResponse = matchHandlerFct newRequest; 63| fallbackResponse = fallbackHandlerFct request; | ^ 64| in (41 duplicate frames omitted) … while calling a functor (an attribute set with a '__functor' attribute) at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:62:27: 61| 62| matchResponse = matchHandlerFct newRequest; | ^ 63| fallbackResponse = fallbackHandlerFct request; (39 duplicate frames omitted) … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/trivial.nix:73:9: 72| { 73| __functor = self: fn; | ^ 74| __functionArgs = functionArgs fn; … while calling anonymous lambda at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:190:7: 189| ( 190| { | ^ 191| path, … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:213:9: 212| else if fileType == "directory" then 213| directoryIndex | ^ 214| { … while calling 'directoryIndex' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:140:5: 139| }: 140| { | ^ 141| path, … from call site at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:145:7: 144| if !hasSuffix "/" path then 145| redirect { | ^ 146| location = "/"; error: function 'redirect' called without required argument 'basePath' at /nix/store/dp8axxxcylqrlycdn5r6jjqaiiw331n1-source/lib/handlers.nix:317:5: 316| }: 317| { | ^ 318| path,