!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

217 Members
59 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@outfoxxed:outfoxxed.meoutfoxxedyou probably want to give it a custom logging category so its easy to search for in logs08:24:21
@outfoxxed:outfoxxed.meoutfoxxedthat function will only be called for disk stores and lookups08:24:52
@k900:0upti.meK900
In reply to@outfoxxed:outfoxxed.me
no, i mean the store path into libraryVersionHash
Like, the application store path?
08:26:41
@k900:0upti.meK900That feels very cursed tbh08:26:49
@outfoxxed:outfoxxed.meoutfoxxedyes08:26:49
@k900:0upti.meK900Though I guess if we do that we can drop the Qt cmake hack08:26:59
@outfoxxed:outfoxxed.meoutfoxxedits less cursed than anything else we discussed08:27:00
@k900:0upti.meK900Which is also pretty cursed08:27:04
@outfoxxed:outfoxxed.meoutfoxxedi think we can drop the cmake hack regardless08:27:12
@outfoxxed:outfoxxed.meoutfoxxedbecause tag solves the same problem08:27:18
@k900:0upti.meK900Well yeah but you now have a patch to allow us to pass a custom tag08:27:35
@outfoxxed:outfoxxed.meoutfoxxedI'm proposing hashing the tag and application path together08:27:35
@k900:0upti.meK900And we could drop that08:27:38
@outfoxxed:outfoxxed.meoutfoxxedyes08:27:42
@k900:0upti.meK900We don't need to though08:27:44
@k900:0upti.meK900We can just hash the store path08:27:48
@outfoxxed:outfoxxed.meoutfoxxedwhat I mean is i think we can drop that anyway08:27:54
@k900:0upti.meK900How do we set the tag then?08:28:03
@k900:0upti.meK900Or can we just write that file08:28:06
@outfoxxed:outfoxxed.meoutfoxxedyou can just write the file08:28:12
@k900:0upti.meK900Oh08:28:14
@outfoxxed:outfoxxed.meoutfoxxedcheck the cmake file the patch is on, the logic is there08:28:25
@outfoxxed:outfoxxed.meoutfoxxedin the tarballs there should just be a .tag file in the root08:28:34
@k900:0upti.meK900My brain just ignores cmake unless forced to08:28:37
@k900:0upti.meK900But yeah that works08:28:42
@outfoxxed:outfoxxed.meoutfoxxedi don't think we should even need to set it though08:29:00
@k900:0upti.meK900But also I'm thinking just hashing the store path might be weird for like locally built things08:29:02
@k900:0upti.meK900We should because we could have a different build of the same Qt version08:29:24
@k900:0upti.meK900With a different struct layout08:29:30
@k900:0upti.meK900That's not guaranteed to be consistent across ABIs etc08:29:43

Show newer messages


Back to Room ListRoom Version: 9