| 26 Sep 2023 |
Emma [it/its] | got the other maintainers to agree on adding it | 10:32:59 |
Lily Foster | It's sketch, but you should be able to buildNpmPackage for just pg and then copy ${pg}/lib/node_modules/pg to ./node_modules/pg in your derivation postConfigure | 10:33:39 |
Lily Foster | In reply to @emma:rory.gay got the other maintainers to agree on adding it Ah that works too | 10:33:45 |
Lily Foster | Probably less sketchy anyway 😅 | 10:34:10 |
Emma [it/its] | yeah | 10:35:20 |
Emma [it/its] | i was thinking of using a fetchTarball, honestly | 10:35:43 |
Lily Foster | In reply to @emma:rory.gay i was thinking of using a fetchTarball, honestly Only concern is if it has other deps that would be unmet. Also it's not a case with this one, but if they had C code build steps you'd need them to run | 10:38:13 |
Emma [it/its] | true | 10:40:08 |
| Emily changed their display name from Emily to emily. | 16:38:16 |
| 30 Sep 2023 |
| thiloho joined the room. | 21:45:27 |
thiloho | Lily Foster: Are you aware of this error? I am getting it lately and cannon figure it out.
error: builder for '/nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv' failed with exit code 1;
last 10 log lines:
> node_modules/sade
> node_modules/to-fast-properties
> node_modules/p-try
> node_modules/yallist
> node_modules/stdin-discarder
> node_modules/mdast-util-to-string
> Error: unknown error
>
> Caused by:
> [55] Failed sending data to the peer
For full logs, run 'nix log /nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv'.
error: 1 dependencies of derivation '/nix/store/rid5b0q43iqdf1anhjcf2r29w6cbi2xs-build-aurora-blog.drv' failed to build
| 21:45:46 |
thiloho | I am also getting an [18] error when using nix-prefetch-deps for the package.lock.json file. | 21:49:20 |
Lily Foster | In reply to @thiloho:matrix.org
Lily Foster: Are you aware of this error? I am getting it lately and cannon figure it out.
error: builder for '/nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv' failed with exit code 1;
last 10 log lines:
> node_modules/sade
> node_modules/to-fast-properties
> node_modules/p-try
> node_modules/yallist
> node_modules/stdin-discarder
> node_modules/mdast-util-to-string
> Error: unknown error
>
> Caused by:
> [55] Failed sending data to the peer
For full logs, run 'nix log /nix/store/0v4309m5kdpa2wvm9ix0v9hyf2x8cxwc-build-aurora-blog-npm-deps.drv'.
error: 1 dependencies of derivation '/nix/store/rid5b0q43iqdf1anhjcf2r29w6cbi2xs-build-aurora-blog.drv' failed to build
https://github.com/NixOS/nixpkgs/issues/257805 and https://github.com/NixOS/nixpkgs/issues/256873 | 21:52:52 |
Lily Foster | I haven't had a chance to dive into it though :( | 21:53:10 |
thiloho | Lily Foster: Thank you, what I can tell is that the [18] error is fixed with NIX_BUILD_CORES=1, but that makes it really slow and the [55] error is still there without any solution. | 22:03:36 |
Lily Foster | In reply to @thiloho:matrix.org Lily Foster: Thank you, what I can tell is that the [18] error is fixed with NIX_BUILD_CORES=1, but that makes it really slow and the [55] error is still there without any solution. Does it always fail on the same dependency? | 22:37:36 |
| peter-lustig joined the room. | 23:19:09 |
| 1 Oct 2023 |
peter-lustig | Redacted or Malformed Event | 11:50:55 |
thiloho | In reply to @lily:lily.flowers Does it always fail on the same dependency? I would tell you if this was the case, unfortunately it seems to not fail for me today (I already did a few successful builds with buildNpmPackage. As mentioned in the issue, it only happens occasionally so it is not that easy to debug. | 11:58:54 |