!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
29 Jul 2023
@gdamjan:spodeli.orggdamjanI couldn't reproduce. (since I don't remember what I did).23:41:39
@gdamjan:spodeli.orggdamjanhttps://gist.github.com/gdamjan/08901abe49baadf083034e93ed32ccbe this builds matrix-appservice-irc, dependencies look mostly fine, but typescript is not built into javascript23:42:27
@gdamjan:spodeli.orggdamjan

let's see what happens with a custom build phase

  buildPhase = ''
    export HOME=$(mktemp -d)
    yarn --offline build
  '';
23:46:23
@gdamjan:spodeli.orggdamjanok seems to work23:49:00
@gdamjan:spodeli.orggdamjan 227M ./result/ 23:49:16
@lily:lily.flowersLily Foster
In reply to @gdamjan:spodeli.org
ok seems to work
--production probably
23:49:58
@lily:lily.flowersLily FosterI meant that in reply to the 227M23:50:07
@lily:lily.flowersLily FosterAdd that to yarn build arga23:50:13
@lily:lily.flowersLily Foster* Add that to yarn build args23:50:18
@lily:lily.flowersLily Foster(Sorry, I am on mobile)23:50:28
@lily:lily.flowersLily FosterOh wait that goes on yarn install23:50:55
@lily:lily.flowersLily FosterNever mind23:51:01
@gdamjan:spodeli.orggdamjan

btw, is fetchYarnDeps downloading all of these:

downloading https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.18.tgz                                                               
downloading https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.18.tgz          
downloading https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.18.tgz            
downloading https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.18.tgz      
downloading https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.18.tgz                                    
downloading https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.18.tgz     
downloading https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.18.tgz
downloading https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.18.tgz                                                                   
downloading https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.18.tgz     
23:56:29
@lily:lily.flowersLily FosterYeah, if it's in the yarn.lock file it downloads it 🤷‍♀️23:57:13
@lily:lily.flowersLily FosterAnd that's how esbuild decided to do their prebuilts (as deps that get written to the lockfile...)23:57:36
@lily:lily.flowersLily FosterIt shouldn't exist in the final build at least23:57:49
@gdamjan:spodeli.orggdamjanwhat phase is the pruning of non-prod dependencies?23:58:20
@lily:lily.flowersLily Foster Whenever yarn install runs 23:59:05
@lily:lily.flowersLily Foster * Whenever yarn install --production runs 23:59:09
@lily:lily.flowersLily FosterIdk I'd have to pull up the yarn2nix code, but I remember it does phases rather, uh, wrong23:59:27
30 Jul 2023
@gdamjan:spodeli.orggdamjanI'm gonna make a PR for this matrix-appservice-irc to make hexa happy, but it might need more attention later. and we can merge the PR once the version bump appears00:00:38
@hexa:lossy.networkhexaI run the hackint matrix bridge and we have north of 2500 users relying on it00:01:13
@gdamjan:spodeli.orggdamjanI run it too, but I think I only have 2 or 3 users :)00:01:57
@gdamjan:spodeli.orggdamjanalas, not from nix00:02:05
@gdamjan:spodeli.orggdamjan:hides:00:02:08
@gdamjan:spodeli.orggdamjanhttps://github.com/NixOS/nixpkgs/pull/24611600:11:17
@gdamjan:spodeli.orggdamjan hexa: when do you think the bridge updates will happen? 00:11:39
@hexa:lossy.networkhexawdym00:11:52
@hexa:lossy.networkhexafrom experience I expect the security release some time in the european afternoon00:12:27
@hexa:lossy.networkhexathey're a UK based company iirc00:12:56

Show newer messages


Back to Room ListRoom Version: 6