!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
13 Oct 2023
@c0ba1t:matrix.orgCobaltLooks like it, that's at least the same error code14:08:08
@ThorHop:matrix.org@ThorHop:matrix.orgI hope so, because I've been slamming my head against the wall with learning this process the last couple of days ^^; might have to upload my flake and nix files just to make sure it isn't my sucky programming "skills".14:12:01
@lily:lily.flowersLily FosterWhat channel are you on?14:12:57
@lily:lily.flowersLily FosterOh the fix hasn't hit unstable yet anyway14:13:35
@lily:lily.flowersLily Fosterhttps://nixpk.gs/pr-tracker.html?pr=26001114:13:39
@ThorHop:matrix.org@ThorHop:matrix.orgThat's the one ^^; guess I gotta wait a lil bit.14:14:06
@ThorHop:matrix.org@ThorHop:matrix.orgShould I try with the small one maybe?14:14:35
@ThorHop:matrix.org@ThorHop:matrix.org Lily Foster Wait, do you mean system wide (i.e the one I have running) or for the flake? I am using nixpkgs-unstable as the input. 14:15:57
@lily:lily.flowersLily Foster
In reply to @ThorHop:matrix.org
Lily Foster Wait, do you mean system wide (i.e the one I have running) or for the flake? I am using nixpkgs-unstable as the input.
Flake
14:21:11
@ThorHop:matrix.org@ThorHop:matrix.orgnixpkgs-unstable14:22:22
@lily:lily.flowersLily FosterYeah you could just wait on channel update or temporarily switch to master, fetch once, and then you can switch back since the cached npm deps will already be in nix store then14:28:35
@ThorHop:matrix.org@ThorHop:matrix.org Now I'm getting an error sharp: Are you trying to install as a root or sudo user?. Apparently sharp tries to download a binary? 15:47:52
@ThorHop:matrix.org@ThorHop:matrix.org * Now I'm getting an error sharp: Installation error: EACCES: permission denied. Apparently sharp tries to download a binary and nix doesn't like that? 15:48:29
@lily:lily.flowersLily Foster
In reply to @ThorHop:matrix.org
Now I'm getting an error sharp: Installation error: EACCES: permission denied. Apparently sharp tries to download a binary and nix doesn't like that?
You need pkgs-config in nativeBuildInputs and vips in buildInputs if sharp is a dep
15:50:06
@lily:lily.flowersLily FosterThat prevents it from downloading binary and it builds it instead15:50:16
@lily:lily.flowersLily Foster We need to document "common dependency quirks" like that somewhere... 15:50:50
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
We need to document "common dependency quirks" like that somewhere...
I don't know if that's possible but it would also be a big Qol thing to include common requirements, like poetry2nix, for, e.g., pkg-config, openssl, ... that are automatically applied when needed.
15:52:33
@lily:lily.flowersLily Foster(hey if anyone likes writing docs and wants to join the nixpkgs nodejs team (pls i need more people to work with 😭))15:52:40
@c0ba1t:matrix.orgCobaltIt's a pain to figure out at the beginning why node-gyp fails to build yet another transitive dependency15:53:17
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
It's a pain to figure out at the beginning why node-gyp fails to build yet another transitive dependency
Tbh i've thought about just having buildNpmPackage default to including python3 in nativeBuildInputs for that reason
15:53:58
@lily:lily.flowersLily Foster(And because it won't actually increase the derivation closure size)15:54:21
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
(hey if anyone likes writing docs and wants to join the nixpkgs nodejs team (pls i need more people to work with 😭))
Maybe you have some good "first issues" to point too? Would love to change from consumer to contributor eventually
15:54:29
@lily:lily.flowersLily FosterI may still do that15:54:34
@c0ba1t:matrix.orgCobalt* In reply to @lily:lily.flowers (hey if anyone likes writing docs and wants to join the nixpkgs nodejs team (pls i need more people to work with 😭)) Maybe you have some good "first issues" to point to? Would love to change from consumer to contributor eventually15:54:45
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org

In reply to @lily:lily.flowers
(hey if anyone likes writing docs and wants to join the nixpkgs nodejs team (pls i need more people to work with 😭))

Maybe you have some good "first issues" to point to? Would love to change from consumer to contributor eventually

We have a project board that you could yoink from the "todo" list that isn't being actively worked on. But they aren't really "good first issues" unfortunately...
15:55:24
@lily:lily.flowersLily FosterI wonder if i should get that added to the room topic15:56:44
@lily:lily.flowersLily FosterActually let me check what it even says right now, i don't actually know15:57:01
@lily:lily.flowersLily FosterAh it does not have anything set rn15:57:28
@ThorHop:matrix.org@ThorHop:matrix.orgWell I'll be scraggly 😄 Tis working!16:11:25
@ThorHop:matrix.org@ThorHop:matrix.org
  nativeBuildInputs = with pkgs; [pkg-config python3];
  buildInputs = with pkgs; [vips];

These two were very important.

16:12:14

Show newer messages


Back to Room ListRoom Version: 6