!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

177 Members
51 Servers

Load older messages


SenderMessageTime
11 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She]the fact that there's still bower stuff in-tree 🥴 it hasn't had a release in 2 years and they say on the website and readme that you should use something else20:17:20
@pyrox:pyrox.devdish [Fox/It/She]there's even people suggesting to turn off SSL verification to fix issues, which is frankly enough for me to consider it deprecated, because if your tool can't cope with SSL certs changing, thats on you20:18:46
@pyrox:pyrox.devdish [Fox/It/She]disabling SSL in 2024 is not a great idea considering how many basic security assumptions rely on it being enabled20:19:10
@sandro:supersandro.deSandro 🐧I mean if we migrate the last thing off it, then we don't break anything when removing it20:32:46
24 Dec 2024
@joaomoreira:matrix.orgJoão Moreira joined the room.20:54:10
25 Dec 2024
@drupol:matrix.org@drupol:matrix.org left the room.10:28:24
26 Dec 2024
@phaer:matrix.orgphaer changed their display name from phaer to phaer (8650 at 38c3).17:41:52
27 Dec 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT: 3538 / EPVPN 2681).07:30:26
30 Dec 2024
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius (DECT: 3538 / EPVPN 2681) to raitobezarius.16:25:31
31 Dec 2024
@phaer:matrix.orgphaer changed their display name from phaer (8650 at 38c3) to phaer.19:24:01
1 Jan 2025
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.14:26:34
@oliver.falvai:oliverfalvai.xyzoliver.falvai What is the recommended way to patch a buildNodePackage package where a transitive dependency needs to be upgraded? Applying a patch to the lockfile messes up npmDepsHash, and I guess it also breaks auto updates. Is there a better way?
https://github.com/NixOS/nixpkgs/pull/369998/files
16:54:23
@aidalgol:matrix.orgaidalgol joined the room.23:46:04
4 Jan 2025
@kranzes:matrix.org@kranzes:matrix.org left the room.15:30:37
8 Jan 2025
@otanaut:matrix.orgotanaut joined the room.00:11:23
@otanaut:matrix.orgotanautHey, it's my first attempt at building a package using buildNpmPackage, and I noticed that the npm-packages of a child dependency of the project don't seem to be installed. Parent package-lock.json references child-npm-dep which has a yarn.lock and the dependencies from yarn.lock are not available so the build fails. How could i resolve this? Maybe its also a permission issue. Not sure.00:11:59
@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

Show newer messages


Back to Room ListRoom Version: 6