!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

You have reached the beginning of time (for this room).


SenderMessageTime
7 Dec 2025
@commentator2.0:elia.gardenRutile (rootile)what context am i missing?19:11:45
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @commentator2.0:elia.garden
what context am i missing?
The env variable is CppNix specific and is kind of a kludge
19:12:21
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Also builtins.warn hasn’t landed yet I think because of the whole env variable?19:12:55
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Anyway minver is 2.18 and the abort on warm behavior can’t be relied on to be supported if it’s polyfilled19:13:45
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)* Anyway minver is 2.18 and the abort on warn behavior can’t be relied on to be supported if it’s polyfilled19:13:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Just grepping for “warn” would have been a better approach. Or do a scopedImport to make builtins.warn into a throw. 19:16:20
@thubrecht:matrix.orgthubrecht The issue at play I think is that lix now has builtins.warn but it righfully has no knowledge of the env variable, hence the lib polyfill does not execute and no throws happen 19:54:04
@thubrecht:matrix.orgthubrechtWhat is weird though is that there are similar checks that are done before, but they still pass...19:55:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @thubrecht:matrix.org
What is weird though is that there are similar checks that are done before, but they still pass...
Exit code is not checked?
20:15:37
@thubrecht:matrix.orgthubrechtIt is checked20:53:56
@thubrecht:matrix.orgthubrechtBut the other tests that use NIX_ABORT_ON_WARN don't actually fail because the warning in considered an error20:54:24
@thubrecht:matrix.orgthubrecht But because of error: cannot convert a thunk to JSON 20:54:31
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Ugh, wth20:54:57
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)That error doesn't make sense, nothing in user code should be able to observe thunks20:55:50

Show newer messages


Back to Room ListRoom Version: 10