!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
11 Nov 2025
@raitobezarius:matrix.orgraitobezarius i was in favor of making == for functions complete, i.e. recursive ptr equality + semantic check if ptr equality fails 18:09:07
@raitobezarius:matrix.orgraitobezariusbut i sat down and looked how to do it and noped out18:09:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Quip: nix eval "github:nixos/nixpkgs?rev=a999c1cc0c9eb2095729d5aa03e0d8f7ed256780#pkgsCross.gnu64.bitwarden" --no-eval-cache. This wasn’t a regression and doesn’t evaluate under any nix impl. It was the case where nixpkgs machinery thought that it was doing this in cross and thus failed to eval 18:09:42
@raitobezarius:matrix.orgraitobezariusaaaaaaaaah thanks18:09:54
@raitobezarius:matrix.orgraitobezariuswell the other thing was a regression no?18:10:00
@raitobezarius:matrix.orgraitobezarius i know something that evals only on lix head now 18:10:06
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @raitobezarius:matrix.org
well the other thing was a regression no?
Yeah, some old nixos config from flake-regressions
18:10:40
@raitobezarius:matrix.orgraitobezariusyeah, ok it was indeed from flake-reg18:11:32
@raitobezarius:matrix.orgraitobezarius (i imagined that and therefore i did yesterday: https://git.lix.systems/raito/flake-regressions) 18:11:48
@raitobezarius:matrix.orgraitobezariusThis is going into the pennae's direction from my understanding18:12:31
@raitobezarius:matrix.orgraitobezarius People can decide to have a cmp fn function they use in their local context 18:12:44
@kfears:matrix.orgKFears (burnt out)
In reply to @raitobezarius:matrix.org
This is going into the pennae's direction from my understanding
Yeah
18:14:11
@shine:proqqul.netTaeer Bar-Yam

no practical value to offer a real == for fns

except backward compatibility, right?

18:29:12
@winter:catgirl.cloudWinter @raitobezarius do you remember the context to https://git.lix.systems/lix-project/nixos-module/commit/a50986cfc71dfd60acaf55d31d1e3e05e9bdde6d ? 18:49:04
@winter:catgirl.cloudWinter working on a semi-related change for nixpkgs and want to know if making nixos-option use config.nix.package would be bad/cause a bunch of rebuilds tm 18:49:29
@raitobezarius:matrix.orgraitobezariusi think nixos-option code is deeply integrated with C++ API18:50:02
@raitobezarius:matrix.orgraitobezariusnix 2.18 seemed a reasonable pin at that time18:50:09
@raitobezarius:matrix.orgraitobezariuslix is not because of nixos-option developers are not striving for lix/nix C++ API compat18:50:29
@raitobezarius:matrix.orgraitobezarius* lix is not because of nixos-option developers are not striving for lix/nix C++ API compat (afaik)18:50:34
@raitobezarius:matrix.orgraitobezariusnot even that, right?18:50:53
@raitobezarius:matrix.orgraitobezariusin the current semantics, people can manipulate Nix to observe very specific details of the impl18:51:04
@raitobezarius:matrix.orgraitobezariusif the same people change the interpreter innards and cause these observations to go wrong18:51:25
@raitobezarius:matrix.orgraitobezariuswhat are the eval stability expectations we should offer here?18:51:35
@raitobezarius:matrix.orgraitobezarius a real == for fns will make more things true, hence, if you rely on false-y values somewhere in your magic code, then we will destroy the stability as well here 18:52:01
@raitobezarius:matrix.orgraitobezariusthe best thing i can muster/do is to take real world examples and analyze how much we are breaking vs. keeping working18:52:15
@winter:catgirl.cloudWinter no it's a shell script now 18:52:21
@raitobezarius:matrix.orgraitobezariusi'm happy to do crater-style runs for that18:52:22
@winter:catgirl.cloudWinterso i guess that was when it was in C++18:52:29
@raitobezarius:matrix.orgraitobezariusaaaaaaaaaaaaaaaaaaaaaah18:52:30
@winter:catgirl.cloudWinterfor god knows what reason18:52:32

Show newer messages


Back to Room ListRoom Version: 10