!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

180 Members
51 Servers

Load older messages


SenderMessageTime
8 Jan 2025
@magic_rb:matrix.redalder.orgmagic_rb joined the room.00:13:02
@otanaut:matrix.orgotanautAh it was/is a permission issue, i can resolve this by enabling makeCacheWritable but then i run into `pm error prebuild-install warn install getaddrinfo EAI_AGAIN github.com` Seems the package tries to download prebuilt binaries.00:26:54
@emma:rory.gayEmma [it/its]sadly common, iirc you have to provide the built dependency itself through nix?03:49:14
@winter:catgirl.cloudWintercorrect03:59:50
@otanaut:matrix.orgotanautIs the correct approach to use node2nix then and overwrite the dependency?09:03:58
9 Jan 2025
@otanaut:matrix.orgotanautCould someone help how to add an override first locally for testing, and then later in nixpkgs, so that the package I am trying to add uses the pre-built node-gyp binary?20:51:50
@winter:catgirl.cloudWinterwhat do you mean pre-built? from where?20:53:56
@otanaut:matrix.orgotanautThis package https://github.com/koush/scrypted/blob/main/server/package.json#L7 uses node-gyp and when i run my buildNpmPackage derivation i run into a EAI_AGAIN error20:56:10
@otanaut:matrix.orgotanautI assume its because node tries to download a prebuild version of node-gyp which fails as the derivations do not have network access20:56:39
@winter:catgirl.cloudWintercan you paste the full logs?20:58:04
@otanaut:matrix.orgotanautyes give me a few minutes, ill push my deriviation and the logs20:58:53
@otanaut:matrix.orgotanautI do not know why, but right now, i am running into a different error This commit contains the code of the package https://github.com/omares/nix-homelab/commit/745d6be3315d9269973a3c277bf5225b26b120ef This gist has the full log, do notice the current state is the ENOENT.zsh file https://gist.github.com/omares/cc927949e96f97f544af987c5ba7cdc621:18:21
@otanaut:matrix.orgotanautHoly f... i managed to solve it21:32:30
@otanaut:matrix.orgotanautI had to add cacert as nativeBuildInput!21:42:02
@otanaut:matrix.orgotanautNow i have to resolve the "Package ‘valgrind-3.23.0’ in ... is marked as broken, refusing to evaluate" error caused by the gst-vaapi package21:47:34
@otanaut:matrix.orgotanautAny tips appreciated :D21:55:50
@otanaut:matrix.orgotanaut @Winter i am now able to reproduce it, the current build was not using my remote builder 22:20:24
@otanaut:matrix.orgotanautthat would be the current error i have https://gist.github.com/omares/9faef2413bede493f395d2b39f135f2822:23:11
@winter:catgirl.cloudWinter
In reply to @otanaut:matrix.org
@Winter i am now able to reproduce it, the current build was not using my remote builder
...does your local machine have sandboxing disabled?
23:43:54
10 Jan 2025
@otanaut:matrix.orgotanaut
In reply to@winter:catgirl.cloud
...does your local machine have sandboxing disabled?
what would be the default state? i have not changed anything in that regards.
06:53:49
@otanaut:matrix.orgotanaut
In reply to@winter:catgirl.cloud
...does your local machine have sandboxing disabled?
just checked, it is enabled `cat /etc/nix/nix.conf | grep sandbox` -> `sandbox = true`
08:46:12
@otanaut:matrix.orgotanaut* just checked, it is enabled on the remote builder `cat /etc/nix/nix.conf | grep sandbox` -> `sandbox = true` and my local machine has it disabled08:46:50
@otanaut:matrix.orgotanautI have created a GitHub issue in the Nixpkgs repository, hoping to get support in resolving the problem: https://github.com/NixOS/nixpkgs/issues/372605.09:26:22
11 Jan 2025
@otanaut:matrix.orgotanautLook at me, I am the channel captain now16:37:08
12 Jan 2025
@rosssmyth:matrix.orgrosssmyth joined the room.05:40:27
@networkexception:nwex.denetworkException joined the room.19:51:33
@networkexception:nwex.denetworkException It looks like building nodejs_23 fails on stable 20:05:21
@emilazy:matrix.orgemilyoh blugh sorry20:11:48
@emilazy:matrix.orgemilyI think that is my fault-ish, see https://github.com/NixOS/nixpkgs/pull/37120120:11:59
@emilazy:matrix.orgemilyI forgot about the other build failure for the rest of that staging cycle20:12:18

Show newer messages


Back to Room ListRoom Version: 6