| 15 May 2024 |
@jade_:matrix.org | monorepos are good actually | 19:16:40 |
Grimmauld (moving to @grimmauld:grapevine.grimmauld.de) | huh? now what the hell is josh? y'all are in this way too deep XD | 19:16:42 |
Lily Foster | i assume https://github.com/josh-project/josh? | 19:16:58 |
@jade_:matrix.org | ye | 19:17:07 |
Qyriad | Wait, isn't that basically https://github.com/nix-community/nixpkgs.lib though? Which is autoupdated | 19:17:06 |
@jade_:matrix.org | yes then | 19:17:43 |
Qyriad | Just not really used then I guess | 19:17:59 |
Lily Foster | In reply to @qyriad:katesiria.org Wait, isn't that basically https://github.com/nix-community/nixpkgs.lib though? Which is autoupdated was just about to link that, yeah | 19:18:00 |
Grimmauld (moving to @grimmauld:grapevine.grimmauld.de) | ah so forking lib isn't all that hard, just including and dependency hell is painful? | 19:18:27 |
Lily Foster | well also josh is a lot less of a pain to deal with i'm sure than having an out-of-band periodically-auto-updated repository like that | 19:18:45 |
Qyriad | True | 19:18:58 |
Lily Foster | but i also only learned about josh roughly 90 seconds ago | 19:19:08 |
Lily Foster | so | 19:19:09 |
murazaki | who is Josh ? I see gossip | 19:20:01 |
Lily Foster | it seems rather neat. honestly kinda reminds me a little of how google monorepo does iirc? idk i don't deal with much google stuff (and of course none of their internal stuff. just like chromium monorepo and such) | 19:20:21 |
Lily Foster | In reply to @lily:lily.flowers i assume https://github.com/josh-project/josh? murazaki: see this link from reply ^ | 19:20:53 |
murazaki | oh yeah that's gossip material | 19:21:34 |
Qyriad | Oh my gosh so like I was walking home the other day and I saw Josh yeah I know Josh I can't believe it— | 19:24:11 |
vringar | Hey, I'm using pkg.overrideAttrs to set a postInstall hook and I want to make sure, that if the original package has a postInstall hook, that I execute it. (it doesn't have one right now but I want to be future proof) My initial idea was to have runHook ${previousAttrs.postInstall ? ""} but that doesn't seem to work in multiple ways. Is the attr really just a string so that I could source it? | 19:24:48 |
murazaki | I get a lot of bad rap for being an advocate of git LFS + submodules in gamedev. It's true taht Git needs a lot of UX/QoL love and it ain't getting enough | 19:25:05 |
Lily Foster | In reply to @ff-vringar:mozilla.org Hey, I'm using pkg.overrideAttrs to set a postInstall hook and I want to make sure, that if the original package has a postInstall hook, that I execute it. (it doesn't have one right now but I want to be future proof) My initial idea was to have runHook ${previousAttrs.postInstall ? ""} but that doesn't seem to work in multiple ways. Is the attr really just a string so that I could source it? just do `postInstall = old.postInstall or "" + '' ... '';`` | 19:25:13 |
Lily Foster | In reply to @ff-vringar:mozilla.org Hey, I'm using pkg.overrideAttrs to set a postInstall hook and I want to make sure, that if the original package has a postInstall hook, that I execute it. (it doesn't have one right now but I want to be future proof) My initial idea was to have runHook ${previousAttrs.postInstall ? ""} but that doesn't seem to work in multiple ways. Is the attr really just a string so that I could source it? * just do postInstall = old.postInstall or "" + '' ... ''; | 19:25:17 |
murazaki | * I get a lot of bad rap for being an advocate of git LFS + submodules in gamedev. It's true that Git needs a lot of UX/QoL love and it ain't getting enough | 19:25:17 |
Qyriad | or rather than ? | 19:25:17 |
Qyriad | Yeah | 19:25:19 |
Lily Foster | * just do postInstall = previousAttrs.postInstall or "" + '' ... ''; | 19:25:27 |
vringar | Thank you! | 19:25:42 |
Qyriad | In reply to@lily:lily.flowers just do postInstall = previousAttrs.postInstall or "" + '' ... ''; (And yeah, the precedence works out correctly for this expression even if it looks weird) | 19:26:29 |
Lily Foster | (yeahhh i probably should use parens. i was lazy-typing) | 19:27:29 |
vringar | In reply to @qyriad:katesiria.org (And yeah, the precedence works out correctly for this expression even if it looks weird) This seems like it would work like this in JS, so it made sense to me | 19:27:32 |