!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

153 Members
48 Servers

Load older messages


SenderMessageTime
15 Jul 2024
@emilazy:matrix.orgemilyah, true11:37:52
@emilazy:matrix.orgemilywe could build woff2s :')11:37:58
@emilazy:matrix.orgemilythey're just compressed ttfs after all!11:38:06
@hexa:lossy.networkhexathat sounds like lots of fun11:39:08
@hexa:lossy.networkhexagiven that our current roboto build is this11:39:28
@hexa:lossy.networkhexaimage.png
Download image.png
11:39:29
@emilazy:matrix.orgemilydon't show me that, I'll replace it with something really slow and everyone will get mad11:40:01
@c0ba1t:matrix.orgCobaltMaybe it's worth to request upstream to just use font's from npm? Most stuff from Google font's and in particular Roboto is available in an npm package.11:40:51
@c0ba1t:matrix.orgCobalt* Maybe it's worth to request upstream to just use fonts from npm? Most stuff from Google font's and in particular Roboto is available in an npm package.11:41:02
@hexa:lossy.networkhexa
In reply to @emilazy:matrix.org
don't show me that, I'll replace it with something really slow and everyone will get mad
that is precisely the issue with fonts, reminds me of #staging:nixos.org a while ago 😄
11:43:24
@hexa:lossy.networkhexa
In reply to @c0ba1t:matrix.org
Maybe it's worth to request upstream to just use fonts from npm? Most stuff from Google font's and in particular Roboto is available in an npm package.
maybe, but that requires a relationship, given that I don't know what I'm talking about 🙂
11:43:53
@hexa:lossy.networkhexanot sure if they're even open to us packaging that11:44:05
@hexa:lossy.networkhexathe home-assistant folks certaintly weren't11:44:14
@emilazy:matrix.orgemily
In reply to @hexa:lossy.network
that is precisely the issue with fonts, reminds me of #staging:nixos.org a while ago 😄
(I read recently that that Adobe stuff and all that Python is getting replaced with an end-to-end Rust toolchain with corporate backing, in https://behdad.org/text2024/. perhaps soon we'll have from-source font builds that aren't slow or broken)
11:44:41
@hexa:lossy.networkhexahah, I skimmed that document as well11:45:13
@hexa:lossy.networkhexavery interesting11:45:15
@drupol:matrix.org@drupol:matrix.org left the room.17:40:43
@grossmap:in.tum.dePatrick joined the room.20:30:28
16 Jul 2024
@wst:imagisphe.rewst joined the room.14:05:47
@wst:imagisphe.rewst left the room.14:06:10
@wst:imagisphe.rewst joined the room.14:06:16
@alex3829:matrix.org@alex3829:matrix.org left the room.23:17:06
17 Jul 2024
@wst:imagisphe.rewstHi, I'm "trying" to package an electron app that uses yarn, but I don't know anything about modern js stack, is this the right place to ask questions or should I rather go to nixpkgs room?13:48:57
@wst:imagisphe.rewstTrying is quoted because I'm not exactly sure what I'm doing :/13:49:48
@c0ba1t:matrix.orgCobaltSure, ask questions and maybe we can help you. Note: If you are new to packaging for nodejs w/ nix, a good point to start is looking at existing packaged software. 14:04:45
@c0ba1t:matrix.orgCobalt* Sure, ask questions and we can try to help you. Note: If you are new to packaging for nodejs w/ nix, a good point to start is looking at existing packaged software. 14:05:03
@wst:imagisphe.rewstYeah, I do try to read docks and see some examples, but it's confusing18:46:07
@wst:imagisphe.rewst So first question I have: the app I'm trying to build and package doesn't have yarn.lock. Is there any way nix can generate it for me let's say during configurePhase or smth? I tried to generate it manually and it ended up being bigger than 500 kB o_O 18:47:28
@c0ba1t:matrix.orgCobaltNix might be able to generate the lock file it with a fixed output derivation but that's a bit clunky. A good approach might be to supply a a yarn.lock or package-lock.json as a patch. In this case you would: 1. Generate a lock file yourself 2. supply it as a patch with the build helper20:35:32
@wst:imagisphe.rewst

I did generate yarn.lock with yarn install but now I have next obstacle: when I try to use fetchYarnDeps with it, it gives me following error:

> Error: The lockfile entry with key "@janhq/core@link:./electron/core" cannot be downloaded because it is missing the "resolved" attribute, which should contain the URL to download from. The lockfile might be invalid.
20:53:02

Show newer messages


Back to Room ListRoom Version: 6