!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

417 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
12 Aug 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)That'd be great20:08:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)The fact that old tests didn't cover the most fucked semantics is infuriating20:09:25
@raitobezarius:matrix.orgraitobezariusYeahh, I suppose I was too optimistic about Tom's small language being well behaving20:10:09
@raitobezarius:matrix.orgraitobezariusAll these fromXYZ file format deserializers are ticking bombs :(20:10:34
@emilazy:matrix.orgemily yes, fromTOML by default rejects timestamps 20:12:14
@emilazy:matrix.orgemilyand I cannot find any evidence of anyone relying on this feature20:12:24
@emilazy:matrix.orgemilyit was introduced for https://github.com/input-output-hk/foliage/issues/46 which didn't seem to ever happen20:12:31
@emilazy:matrix.orgemily(TOML is definitely not well-behaved. the top-level value can only be one type…)20:12:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

https://toml.io/en/v1.0.0#local-time

Millisecond precision is required. Further precision of fractional seconds is implementation-specific.

FML

20:13:15
@emilazy:matrix.orgemily I think that the semantics that fromTOML exposes stably should be relatively safe; it's just that experimentally extending it to timestamps turns out to be more complicated than expected 20:13:17
@emilazy:matrix.orgemily that fromTOML cannot handle all of TOML… is suboptimal, but oh well 20:13:32
@emilazy:matrix.orgemilyeasier to expand than shrink :)20:13:47
@emilazy:matrix.orgemilyI do think that the patch should be applied to stable releases, because breaking eval semantics even for experimental features in stable releases seems bad, and the Nixpkgs bump is blocked right now20:14:27
@emilazy:matrix.orgemilybut +2 for dropping for next release20:14:40
@raitobezarius:matrix.orgraitobezariusSomehow obvious amirite20:15:06
@raitobezarius:matrix.orgraitobezariusAlright20:15:39
@raitobezarius:matrix.orgraitobezariusTaking away exp features from stable releases is a bit meh tho20:15:57
@emilazy:matrix.orgemily Sergei Zimmerman (xokdvium)'s patch doesn't take anything away 20:16:16
@emilazy:matrix.orgemily (it computes the previous behaviour back on top of the new toml11) 20:16:27
@emilazy:matrix.orgemilyit's just an unfortunate amount of complexity for a broken feature that's clearly an eval stability liability, so I'd prefer to see a drop on HEAD20:17:01
@emilazy:matrix.orgemilydoing it only for stable releases bounds the lifetime of the complexity20:17:21
@raitobezarius:matrix.orgraitobezariusSorry, you're absolutely right20:17:58
@raitobezarius:matrix.orgraitobezariusThat sounds like a good plan, patch for releases and drop for HEAD20:18:13
@raitobezarius:matrix.orgraitobezariusThank you xokdvium for this!20:18:46
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Sure. I'll bring this issue up at the nix team meeting as well. I'd be in favor of dropping this feature on master. Digging through toml11 def wasn't a great experience.20:20:09
@raitobezarius:matrix.orgraitobezarius(expectations for the work above: I can probably review some CLs around that but I'm on holidays for the next 5 days, so I won't take care of it immediately)21:13:26
13 Aug 2025
@niko:nrab.lolniko ⚡️oh no I was wondering why nix build on lix main wouldn't reproduce them and turns out the other failing install checks only error on new nixpkgs unstable that's not a good sign09:53:56
@picnoir:alternativebit.frPicnoir changed their display name from Picnoir DECT 7426 to Picnoir.13:24:51
@emilazy:matrix.orgemily

has anyone run into this on macOS error: failed to extract archive (Cannot extract through symlink /tmp/nix-50z48nbfhpxw5h6rvfcpq4ibip/nix-darwin-e04a388232d9a6ba56967ce5b53a8a6f713cdfcf)

it might be related to me trying to recover my busted system right now but I usually have /nix/tmp as my temp-dir and I'm wondering if there is actually some broken behaviour around /tmp -> /private/tmp when using --store local with the default config

15:35:17
@emilazy:matrix.orgemily --temp-dir /private/tmp fixes it 15:35:35

Show newer messages


Back to Room ListRoom Version: 10