!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
@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
@k900:0upti.meK900This is a special case for paths relative and fully contained in flake root10:02:48
@k900:0upti.meK900 I still have no idea why 10:02:55
@mangoiv.:matrix.orgMangoIVoh, i do not wish to partake in that discussion, I just want to explain to myself why I cannot use this nix code with lix that I can use with upstream nix. 10:02:56
@raitobezarius:matrix.orgraitobezariusit's helpful for us to decide what to do10:03:16
@raitobezarius:matrix.orgraitobezariusit's not a debate :)10:03:18
@mangoiv.:matrix.orgMangoIVprobably usability issues? you don't have to update the lock file every time something in the repo changes 10:03:23
@mangoiv.:matrix.orgMangoIVthat is a really good usability feature, fwiw10:03:40
@k900:0upti.meK900The short answer is we didn't backport https://github.com/NixOS/nix/pull/1008910:03:43
@raitobezarius:matrix.orgraitobezariusit makes sense to me to say that relative paths to a locked node are locked10:03:43
@k900:0upti.meK900I don't see a use case where a subpath is actually meaningfully useful as its own flake input unless you're doing weird subflake stuff or submodules10:04:36
@k900:0upti.meK900And you shouldn't do those things10:04:46
@k900:0upti.meK900 And I don't even know if this works with submodules 10:04:56
@k900:0upti.meK900I'm pretty sure this is just some lazy trees nonsense that's three steps removed from the actual rationale10:05:14
@aloisw:julia0815.dealoisw To avoid https://git.lix.systems/lix-project/lix/issues/586 I guess. 10:05:33
@mangoiv.:matrix.orgMangoIVour specific use case is a tutorial. there are two sub directories that each are a separate tutorial and the top level flake import the other flakes to allow checking that they still work 10:05:59
@raitobezarius:matrix.orgraitobezariusthe change above mentioned do change evaluation semantics of the outputs of flakes though10:07:00
@raitobezarius:matrix.orgraitobezariusthat massively sucks10:07:15

Show newer messages


Back to Room ListRoom Version: 10