| 12 Nov 2023 |
szucsitg | Okay, maybe it's because I'm override stuff in configurePhase. But without I got issue in buildphase | 14:19:44 |
szucsitg | In reply to @szucsitg:matrix.org
Like this:
error: builder for '/nix/store/2wh00drgf8sxhx6k8z7sx9fsbw35jb4y-account-settings-modules-1.0.0.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/9xvqxvm2hr9dq1d487zww0zywmnaa007-account-settings-1.0.0.drv' failed to build
error (ignored): error: cannot unlink '/private/tmp/nix-build-accept-shared-modules-1.0.0.drv-6/yarn_home/Library/Caches/Yarn/v6/npm-core-js-3.31.0-4471dd33e366c79d8c0977ed2d940821719db344-integrity/node_modules/core-js/internals': Directory not empty
error (ignored): error: cannot unlink '/private/tmp/nix-build-web-client-modules-4.123.0.drv-0/yarn_home/Library/Caches/Yarn/v6/npm-core-js-pure-3.31.0-052fd9e82fbaaf86457f5db1fadcd06f15966ff2-integrity/node_modules/core-js-pure/modules': Directory not empty
error: 1 dependencies of derivation '/nix/store/6il46rk23vm78ly4n5fiv63dghb6mh7d-frontend.drv' failed to build
As I shared previously | 14:21:07 |
Lily Foster | That's not a fully log, so it's hard to see what the actual error is. But regardless, it's hard to know what's wrong with your approach or what you might need without more concrete context :( | 14:22:31 |
Lily Foster | Sharing the package.json files might help though | 14:22:35 |
Lily Foster | (or if you just wanna share the whole thing that would probably be even more of a help) | 14:22:47 |
szucsitg | This is all the output I get on console from building the derivation. And this is unfortunately fully closed source, I'm not sure even if I could make a reproducible project | 14:24:41 |
peter-lustig | Lily Foster: canot fetch deps hash now, is there some temp fix for this? Error: the server made an unrecoverable HTTP protocol violation
Caused by: [92] Stream error in the HTTP/2 framing layer
| 15:51:11 |
Lily Foster | In reply to @peter-lustig:matrix.org
Lily Foster: canot fetch deps hash now, is there some temp fix for this? Error: the server made an unrecoverable HTTP protocol violation
Caused by: [92] Stream error in the HTTP/2 framing layer
that's a network error | 16:03:03 |
Lily Foster | how recent is your nixpkgs revision? | 16:03:19 |
peter-lustig | very recent | 16:03:27 |
peter-lustig | updated yesterday i think | 16:03:32 |
Lily Foster | is it happening every time? | 16:03:59 |
Lily Foster | and is it same dep? | 16:04:07 |
Lily Foster | In reply to @peter-lustig:matrix.org updated yesterday i think like updated from nix{os,pkgs}-unstable or master or something? | 16:04:29 |
peter-lustig | yes nixos-unstable | 16:05:02 |
peter-lustig | and only right now, never had that before | 16:05:11 |
Lily Foster | if you try again does it still happen? | 16:05:30 |
Lily Foster | that's generally a transient network issue somewhere | 16:05:43 |
peter-lustig | yep | 16:06:03 |
Lily Foster | In reply to @lily:lily.flowers and is it same dep? Same dep? | 16:06:16 |
peter-lustig | i think so | 16:07:32 |
peter-lustig | i try rebooting | 16:07:38 |
Lily Foster | well i ask if it's same dep because if that one dep is from somewhere else (i.e. not npm registry) then that service may be having trouble from your location rn | 16:08:10 |
Lily Foster | you can add RUST_LOG=debug env var if you want debugging output that may narrow down where it is going when it fails. also adding --cores 1 to your nix command so that way there's no parallelism | 16:09:03 |
peter-lustig | ah okay | 16:09:03 |
Lily Foster | In reply to @lily:lily.flowers you can add RUST_LOG=debug env var if you want debugging output that may narrow down where it is going when it fails. also adding --cores 1 to your nix command so that way there's no parallelism (env vars for fetcher in buildNpmPackage can be added in postPatch) | 16:09:17 |
Lily Foster | (like postPatch = "export RUST_LOG=debug") | 16:09:40 |
peter-lustig | I wish there weren't these weird issues with these weird workarounds | 16:10:59 |
Lily Foster | this is not a workarojnd | 16:11:18 |
Lily Foster | * this is not a workaround | 16:11:22 |