21 Oct 2024 |
| moved to @amadaluzia:tchncs.de changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel). | 20:03:05 |
22 Oct 2024 |
| aktaboot changed their profile picture. | 12:11:11 |
23 Oct 2024 |
| aktaboot changed their profile picture. | 19:54:05 |
25 Oct 2024 |
Emma [it/its] | question, if i have this hack: https://github.com/spacebarchat/server/blob/master/flake.nix#L44-L62
is this something i can just upstream into a build script or is there a better way to handle this? (typescript) | 15:06:56 |
Emma [it/its] |  Download clipboard.png | 15:24:53 |
Emma [it/its] | seems i was able to at least fix that error for not-nix builds, so maybe i can clean up my nix build hacks there | 17:03:24 |
26 Oct 2024 |
| Tomodachi94 (they/them) changed their display name from Tomodachi94 to Tomodachi94 (they/them). | 21:57:02 |
29 Oct 2024 |
hexa | can fetchNpmDeps install dev dependencies? | 12:42:48 |
hexa | asking for a project that doesn't grok the difference between dependencies and devDependencies | 12:43:06 |
thubrecht | In reply to @hexa:lossy.network can fetchNpmDeps install dev dependencies? If the correct hash is specified yes | 13:18:35 |
hexa | nvm | 13:18:50 |
hexa | the nodejs stuff is entirely dev deps after all | 13:19:01 |
hexa | they were telling me they build their css with sass and stuff | 13:19:13 |
hexa | and then npm only contains linters | 13:19:19 |
| @mat:matrix.matmoa.xyz left the room. | 19:58:10 |
31 Oct 2024 |
| arexon joined the room. | 05:47:47 |
| pxc joined the room. | 19:38:31 |
pxc | I've been trying to fix the build of bitwarden-cli on aarch64-darwin . It's built with buildNpmPackage . The issue is in one of the transitive dependencies which builds a C++ executable via node-gyp , and that fails during the patchPhase .
I've been able to get builds of the same package (on a newer version) to build as part of Nixpkgs' nodePackages (though I'm not sure it's correct). What's the right way to tackle this from here?
If I switch to building it via node2nix, can I override recursive dependencies as well as top-level ones?
| 19:54:46 |
pxc | * I've been trying to fix the build of bitwarden-cli on aarch64-darwin . It's built with buildNpmPackage . The issue is in one of the transitive dependencies which builds a C binary (in newer versions, it's C++) via node-gyp , and that fails during the patchPhase .
I've been able to get builds of the same package (on a newer version) to build as part of Nixpkgs' nodePackages (though I'm not sure it's correct). What's the right way to tackle this from here?
If I switch to building it via node2nix, can I override recursive dependencies as well as top-level ones?
| 19:55:21 |
pxc | Last night I started trying to move bitwarden-cli (back?) into nodePackages , but it doesn't seem right. I think I might have to also add @microsoft/signalr , which depends on this broken package with native deps (utf-8-validate ) and add an override for it to point it at the fixed utf-8-validate package?
But I'm not sure if I'm headed down the wrong path with that effort.
| 19:58:16 |
Lily Foster | In reply to @pxc:matrix.org
I've been trying to fix the build of bitwarden-cli on aarch64-darwin . It's built with buildNpmPackage . The issue is in one of the transitive dependencies which builds a C++ executable via node-gyp , and that fails during the patchPhase .
I've been able to get builds of the same package (on a newer version) to build as part of Nixpkgs' nodePackages (though I'm not sure it's correct). What's the right way to tackle this from here?
If I switch to building it via node2nix, can I override recursive dependencies as well as top-level ones?
can you share any more context about what's failing? you are probably just missing some dep the C++ plugin requires | 19:58:43 |
pxc | * Last night I started trying to move bitwarden-cli (back?) into nodePackages , but it doesn't seem right. I think I might have to also add @microsoft/signalr , which depends on this broken package with native deps (utf-8-validate ) and add an override for it to point it at the fixed utf-8-validate package?
I'm just not sure if I'm headed down the wrong path with that effort.
| 19:58:46 |
pxc | * Last night I started trying to move bitwarden-cli (back?) into nodePackages , but it doesn't seem right. I think I might have to also add @microsoft/signalr , which depends on this broken package with native deps (utf-8-validate ) and add an override for it to point it at the fixed utf-8-validate package?
I'm just not sure if I'm headed down the right path with that effort.
| 19:58:59 |
Lily Foster | node2nix/nodePackages will only result in more pain and incorrectly packaged things for everyone. it's dead | 19:59:11 |
pxc | it's a weird failure where it tries to create a fat binary with the aarch64 parts of the executable twice | 19:59:26 |
Lily Foster | logs? | 19:59:50 |