!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

153 Members
48 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Mar 2024
@kyle:iteratee.net@kyle:iteratee.net I recently patched pnpm2nix-nzbr to work with pnpm workspaces for a project at work. Are the people here that would be interested in that work? Even if just out of curiosity to see what changes were necessary? 20:07:08
@hexa:lossy.networkhexa I need to npm install and get the resulting dir for a build 22:46:42
@hexa:lossy.networkhexabut I only get the _cacache in out that way 😄 22:47:01
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
but I only get the _cacache in out that way 😄
hmm?
22:51:08
@hexa:lossy.networkhexa_cacache package-lock.json 22:51:30
@hexa:lossy.networkhexa *
_cacache  package-lock.json
22:51:39
@lily:lily.flowersLily Foster fetchNpmDeps does that, yeah. if you are needing to build a package then buildNpmPackage should do it 22:51:51
@lily:lily.flowersLily Fosterdo you have more context?22:52:05
@hexa:lossy.networkhexaas you know, everything I do is slightly cursed22:52:12
@hexa:lossy.networkhexathe thing has no build script22:52:20
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
as you know, everything I do is slightly cursed
(me too....)
22:52:23
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
the thing has no build script
dontNpmBuild = true?
22:52:45
@hexa:lossy.networkhexahttps://github.com/pretix/pretix/blob/master/src/pretix/static/npm_dir/package.json22:52:50
@hexa:lossy.networkhexahttps://github.com/pretix/pretix/blob/master/src/pretix/_build.py#L4222:53:07
@lily:lily.flowersLily Foster
In reply to @hexa:lossy.network
https://github.com/pretix/pretix/blob/master/src/pretix/_build.py#L42
ewww
22:53:32
@hexa:lossy.networkhexatold you so!22:53:38
@hexa:lossy.networkhexanever understimated the weird stuff I'm touching22:53:45
@lily:lily.flowersLily Fosterlook, i had to touch the cursed cxx interface generation python code for mupdf (and then the SWIGing the cxx interface to get a python interface.....)22:54:29
@lily:lily.flowersLily Fosterthis is mild22:54:32
@hexa:lossy.networkhexaok, ok22:54:39
@hexa:lossy.networkhexathis shouldn't be a contest anyway!22:54:45
@lily:lily.flowersLily Fosteryeah i'm just messing with you :)22:54:55
@lily:lily.flowersLily Foster for this, you should be able to buildNpmPackage it yourself and copy it where it needs to be. you might even be able to get away without patching the _build.py to remove the npm install since as long as it doesn't have weird dep types, npm shouldn't try to re-reify stuff unnecessarily (but npm gets spooked very easily) 22:56:00
@hexa:lossy.networkhexa
In reply to @lily:lily.flowers
yeah i'm just messing with you :)
same, same
22:56:21
@hexa:lossy.networkhexa
pretix> running build
pretix> npm WARN reify Removing non-directory /build/source/src/pretix/static.dist/node_prefix/node_modules
pretix> npm ERR! code EAI_AGAINn: sill reify mark deleted [ [[Kectory /build/sour
pretix> npm ERR! syscall getaddrinfo
pretix> npm ERR! errno EAI_AGAIN
pretix> npm ERR! request to https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
pretix> 
pretix> npm ERR! Log files were not written due to an error writing to the directory: /homeless-shelter/.npm/_logs
pretix> npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
23:20:29
@hexa:lossy.networkhexadang23:20:30
@hexa:lossy.networkhexa Lily Foster: looks like I'm not getting away without patching 🙂 23:20:41
@hexa:lossy.networkhexaalso … where is yallist suddenly coming from23:21:03
@lily:lily.flowersLily Fosterdamn, at least that's most of the way there23:21:06
@hexa:lossy.networkhexaoh, it is in the lock, so transitive dependecy23:21:18

Show newer messages


Back to Room ListRoom Version: 6