!9IQChSjwSHXPPWTa:lix.systems

Lix

1123 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms304 Servers

Load older messages


SenderMessageTime
15 May 2024
@jade_:matrix.org@jade_:matrix.orgmonorepos are good actually19:16:40
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)huh? now what the hell is josh? y'all are in this way too deep XD19:16:42
@lily:lily.flowersLily Foster i assume https://github.com/josh-project/josh? 19:16:58
@jade_:matrix.org@jade_:matrix.orgye19:17:07
@qyriad:katesiria.orgQyriadWait, isn't that basically https://github.com/nix-community/nixpkgs.lib though? Which is autoupdated19:17:06
@jade_:matrix.org@jade_:matrix.orgyes then19:17:43
@qyriad:katesiria.orgQyriadJust not really used then I guess19:17:59
@lily:lily.flowersLily 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:grimmauld.deGrimmauld (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:lily.flowersLily Fosterwell 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 that19:18:45
@qyriad:katesiria.orgQyriadTrue19:18:58
@lily:lily.flowersLily Fosterbut i also only learned about josh roughly 90 seconds ago19:19:08
@lily:lily.flowersLily Fosterso19:19:09
@murazaki:matrix.orgmurazakiwho is Josh ? I see gossip19:20:01
@lily:lily.flowersLily Fosterit 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:lily.flowersLily 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:matrix.orgmurazakioh yeah that's gossip material19:21:34
@qyriad:katesiria.orgQyriad 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
@ff-vringar:mozilla.orgvringar 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:matrix.orgmurazakiI 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 enough19:25:05
@lily:lily.flowersLily 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:lily.flowersLily 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:matrix.orgmurazaki* 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 enough19:25:17
@qyriad:katesiria.orgQyriad or rather than ? 19:25:17
@qyriad:katesiria.orgQyriadYeah19:25:19
@lily:lily.flowersLily Foster * just do postInstall = previousAttrs.postInstall or "" + '' ... ''; 19:25:27
@ff-vringar:mozilla.orgvringarThank you!19:25:42
@qyriad:katesiria.orgQyriad
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:lily.flowersLily Foster(yeahhh i probably should use parens. i was lazy-typing)19:27:29
@ff-vringar:mozilla.orgvringar
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

Show newer messages


Back to Room ListRoom Version: 10