!9IQChSjwSHXPPWTa:lix.systems

Lix

1105 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-rooms295 Servers

Load older messages


SenderMessageTime
13 Oct 2025
@mangoiv.:matrix.orgMangoIV is there a workaround for lix to allow mutable locks? Shouldn't passing --impure allow them? 09:54:30
@raitobezarius:matrix.orgraitobezariusbut for us to consider it as a change that we should do as well (not a bug), we would need the rationale context09:54:31
@raitobezarius:matrix.orgraitobezariusthe node needs to be locked09:54:48
@raitobezarius:matrix.orgraitobezariusfor a path to be locked, it needs to have its content hash serialized in the flake lock09:55:23
@raitobezarius:matrix.orgraitobezariusif flakes are now "everything is hermetic except for this little exception here, that little exception there and so on", i'm not sure i understand what is the value of it anymore :)09:55:55
@mangoiv.:matrix.orgMangoIVso it is a bug in upstream nix, in that it doesn't lock it properly? 09:56:26
@raitobezarius:matrix.orgraitobezariusi don't know if this is a bug upstream or if they decided to change the behavior knowingly09:56:46
@raitobezarius:matrix.orgraitobezarius* i don't know if this is a bug in cppnix or if they decided to change the behavior knowingly09:56:53
@mangoiv.:matrix.orgMangoIVyeah, okay, the lock file definitely looks different. 09:57:07
@raitobezarius:matrix.orgraitobezariusbtw, fyi, we do not consider cppnix an upstream, our codebases have largely diverged at this point09:57:08
@raitobezarius:matrix.orgraitobezariuswe do try to maintain some sense of compatibility, but we will not do it at the cost of correctness or other objectives we pursue09:57:37
@raitobezarius:matrix.orgraitobezariusso happy to take an issue if we can realistically do something09:57:47
@raitobezarius:matrix.orgraitobezariusbut i would like to avoid to scavenge the rationale context of what happened there09:57:58
@mangoiv.:matrix.orgMangoIVsince there is no spec, it is kinda hard to see what is upstream and what is not. if nix code stops to be portable across implementation, I think it will be hard to justify words like "reproducible" 09:58:07
@raitobezarius:matrix.orgraitobezariusa spec of flakes you mean?09:58:40
@raitobezarius:matrix.orgraitobezariusit's an experimental feature09:58:45
@raitobezarius:matrix.orgraitobezariusflakes have never been reproducible the day they have been marked experimental even if everyone is trying their best to make them stable09:59:20
@raitobezarius:matrix.orgraitobezariusand it's at odds with "we would like flakes usecases to be fixed"09:59:27
@mangoiv.:matrix.orgMangoIVI don't know what is correct here. I don't think that paths that are path of the repo need to specify a hash, I think that there's no additional integrity guarantees earned there. 09:59:30
@aloisw:julia0815.dealoisw Well it's not impure, right? Because "descendant of directory with locked hash" is still effectively locked. 10:00:07
@raitobezarius:matrix.orgraitobezariuswell, at that point, we don't need to copy the repo of the flakes in the store then neither? not sure what flakes provides anymore10:00:09
@mangoiv.:matrix.orgMangoIVa spec of nix. fwiw I know all this and I'm not saying it is your fault. I just run into these issues and I try to make sense of them. 10:00:19
@raitobezarius:matrix.orgraitobezariusa partial spec of nix do exist ;-)10:00:35
@raitobezarius:matrix.orgraitobezarius(i'm not saying you're saying it's my fault, dw)10:00:44
@raitobezarius:matrix.orgraitobezariusisn't it impure for the same reason we do not operate on directory outside of the store?10:01:13
@mangoiv.:matrix.orgMangoIVI'm not sure what you're getting at here. I am trying to use that feature, I do not want to argue that anyone should use flakes or anything like that :P 10:01:43
@aloisw:julia0815.dealoisw Yeah, because the subdirectory is relative to the thing copied to the store (at least if implemented properly). 10:02:05
@raitobezarius:matrix.orgraitobezariusnot arguing that flakes should not be used or anything10:02:15
@raitobezarius:matrix.orgraitobezariusjust trying to understand what is the value proposal of flakes today10:02:20
@raitobezarius:matrix.orgraitobezariusin that case, yeah, that works10:02:36

Show newer messages


Back to Room ListRoom Version: 10