!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
6 Dec 2025
@raitobezarius:matrix.orgraitobezariusthose issues afaik are related to the IPv6 only stack20:04:27
@raitobezarius:matrix.orgraitobezariusthey were fixed once we ironed out all the DNS resolution mess20:04:36
@raitobezarius:matrix.orgraitobezarius(just retried again right now to check and it works)20:04:44
@raitobezarius:matrix.orgraitobezariusbut we did have such a mess20:04:47
7 Dec 2025
@thubrecht:matrix.orgthubrechtWelp https://github.com/NixOS/nixpkgs/commit/b3cf9ce0f9d01b9c1dc4b7e04fb8b28f79ee68c409:21:41
@raitobezarius:matrix.orgraitobezariussounds like it's worth sending a revert14:13:32
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingwhat 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
@thubrecht:matrix.orgthubrechtIt's evaluation an option20:57:29
@thubrecht:matrix.orgthubrecht* It's evaluating an option20:57:34
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Is this just for the nix-instantiate output right? 20:59:09
@thubrecht:matrix.orgthubrechtIt's at least for this, I did not investiguate further21:00:09
@thubrecht:matrix.orgthubrecht

The command was:

nix-instantiate -E 'import ./default.nix { modules = [ ./deprecated-wrapped.nix ];}' -A 'options.mergedEither.type.nestedTypes.right.functor.wrapped' --eval-only --json --show-trace

21:00:22
@thubrecht:matrix.orgthubrecht *

The command was:

nix-instantiate -E 'import ./default.nix { modules = [ ./deprecated-wrapped.nix ];}' -A 'options.mergedEither.type.nestedTypes.right.functor.wrapped' --eval-only --json

21:00:37
@thubrecht:matrix.orgthubrechtRedacted or Malformed Event21:00:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah then this is just a nix-instantiate not forcing thunks21:01:10
@thubrecht:matrix.orgthubrecht Even if it was forcing chunks, then the error would be cannot convert the built-in function 'isString' to JSON or something along the lines 21:02:51
@thubrecht:matrix.orgthubrechtAt the end of the day, the test passes but for the wrong reasons21:03:44

There are no newer messages yet.


Back to Room ListRoom Version: 10