!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

135 Members
44 Servers

Load older messages


SenderMessageTime
5 Sep 2024
@k900:0upti.meK900But it's making things annoying because we also can't just have tmpfilesd clean it up based on atime or whatever07:49:54
@k900:0upti.meK900Because we don't know what's going on07:50:03
@outfoxxed:outfoxxed.meoutfoxxedI don't think theres a reasonable way to handle non qrc nix store qml files07:50:04
@outfoxxed:outfoxxed.meoutfoxxedwe might just want to disable those entirely07:50:17
@k900:0upti.meK900We could potentially base the hash off like, pname and relative path, but meh07:50:26
@k900:0upti.meK900That's too cursed07:50:29
@k900:0upti.meK900And too specific07:50:31
@outfoxxed:outfoxxed.meoutfoxxedwait actually07:50:31
@outfoxxed:outfoxxed.meoutfoxxedif they're in the nix store07:50:36
@outfoxxed:outfoxxed.meoutfoxxedthe path will change07:50:40
@outfoxxed:outfoxxed.meoutfoxxedand thats the id key07:50:43
@k900:0upti.meK900Yeah the problem is not that we'll hit stale cache07:50:51
@k900:0upti.meK900The problem is that we'll never clean up stale cache07:50:55
@outfoxxed:outfoxxed.meoutfoxxedyeah i see07:50:59
@k900:0upti.meK900Because it only cleans up on lookup hit07:51:02
@outfoxxed:outfoxxed.meoutfoxxedjust cleanup07:51:02
@k900:0upti.meK900And we will never lookup hit07:51:05
@outfoxxed:outfoxxed.meoutfoxxedhm07:51:14
@outfoxxed:outfoxxed.meoutfoxxedwe could go further and strip the store part of the path07:51:35
@outfoxxed:outfoxxed.meoutfoxxedRedacted or Malformed Event07:51:58
@outfoxxed:outfoxxed.meoutfoxxed
In reply to @outfoxxed:outfoxxed.me
we could go further and strip the store part of the path
and then store that in the tag area as well
07:52:27
@outfoxxed:outfoxxed.meoutfoxxedits getting more complex than I'd like though07:52:45
@k900:0upti.meK900We can't just strip the store path either because we could have QML files in the same relative path07:53:25
@k900:0upti.meK900So it would have to be something like (pname, relative path) and even then it's not guaranteed to be unique07:53:41
@k900:0upti.meK900It's a mess07:53:44
@outfoxxed:outfoxxed.meoutfoxxedcanonicalize it first?07:53:45
@k900:0upti.meK900I don't think we want to open that can of worms07:53:51
@k900:0upti.meK900
In reply to@outfoxxed:outfoxxed.me
canonicalize it first?
Relative to the root store path I mean
07:53:57
@outfoxxed:outfoxxed.meoutfoxxedI'm confused about how that's an issue07:54:18
@k900:0upti.meK900Like /nix/store/aaaaaaa-lib1-1.0/lib/qt/qml/Button.qml and /nix/store/bbbbbbbb-lib2-1.0/lib/qt/qml/Button.qml can both exist07:54:20

Show newer messages


Back to Room ListRoom Version: 9