!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
14 Aug 2025
@emilazy:matrix.orgemily I will probably prepare a revert of that fromJSON change in the absence of strong objection / someone who wants to try and make it do the same for negative integers 16:55:24
@emilazy:matrix.orgemilyI wish someone had told Douglas Crockford what semantics are16:55:39
@emilazy:matrix.orgemily further context for this is https://github.com/NixOS/nixpkgs/pull/433710 because it turns out that fromTOML is a total mess (working on a stack locally) 16:56:05
@jade_:matrix.orgjade_i would like consistent behaviour with pos/neg integers ideally and i would rather it be a total function. so ya16:56:08
@emilazy:matrix.orgemily btw what's the intended way to update functional2 snapshots with a just-built Lix? 16:57:29
@emilazy:matrix.orgemily PATH=build/… hacks? 16:57:33
@jade_:matrix.orgjade_"did we wire that in yet" -helle16:59:28
@emilazy:matrix.orgemilyhm, seems that doesn't work16:59:29
@emilazy:matrix.orgemily btw, Nix recently started forbidding NUL bytes in string literals, fromJSON, etc.; how do we feel about backporting that? 17:00:18
@emilazy:matrix.orgemilyI know it's "language versioning" kind of territory but the behaviour is also super broken so if they're pulling off the bandaid already…17:00:36
@jade_:matrix.orgjade_ I think it's the _NIX_TEST_ACCEPT=1 thing, and iirc you can just run functional2 with pytest in lix (assuming the fresh lix is in fact in PATH and you've rehashed in zsh etc) 17:00:59
@emilazy:matrix.orgemily yes the problem is getting it in $PATH 17:01:27
@emilazy:matrix.orgemilylooks like you need to do an install first17:01:30
@emilazy:matrix.orgemily because the nix-* symlinks 17:01:35
@jade_:matrix.orgjade_ this seems like a good idea, yes. it will break some of puck 's eval-breaking art projects, but that's good actually. 17:02:32
@emilazy:matrix.orgemilyok I'll pile those on the stack then :P17:02:49
@jade_:matrix.orgjade_that's correct, yeah, i don't know where that's supposed to be documented17:03:09
@puck:puck.moepuck
In reply to @jade_:matrix.org
this seems like a good idea, yes. it will break some of puck 's eval-breaking art projects, but that's good actually.
i expected it to break some day, tbh
17:03:10
@puck:puck.moepuckand i think i no longer depend on it in any thing17:03:36
@emilazy:matrix.orgemilybtw https://github.com/NixOS/nixpkgs/pull/433729 is also funny for CI17:03:57
@emilazy:matrix.orgemilyturns out some Nixpkgs lib tests were not in fact testing the built interpreter17:04:11
@jade_:matrix.orgjade_unrelated question: why is lix not also codeowners on those files? i mean, i think we would have to convince someone to make us a group but .....17:05:21
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @emilazy:matrix.org
btw what's the intended way to update functional2 snapshots with a just-built Lix?
The env variable and just test-functional2 --accept-tests
17:05:28
@emilazy:matrix.orgemilyprobably just because nobody did it?17:05:42
@emilazy:matrix.orgemily there's already a lib.teams entry 17:05:55
@emilazy:matrix.orgemilyany committer can make a GitHub team17:06:01
@jade_:matrix.orgjade_wait really?? okay let's fix tha17:06:28
@emilazy:matrix.orgemilyright, it was the "just-built Lix" part17:06:46
@emilazy:matrix.orgemilybtw17:06:48
@emilazy:matrix.orgemily you can't --accept-tests a change from an eval failure to success or vice versa 17:06:55

Show newer messages


Back to Room ListRoom Version: 10