!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
19 Oct 2024
@jade_:matrix.orgjade_wait i did not even fuck up a backport ???? is it just broken on main??!17:52:09
@jade_:matrix.orgjade_ agh okay no it was a fucked up backport combined with my main being old 17:54:13
@9999years:matrix.org9999yearshttps://github.com/NixOS/nix/pull/8817#issuecomment-242371455220:28:06
@9999years:matrix.org9999yearsstruggling to not say "have you tried lix"20:28:16
@9999years:matrix.org9999years

I'm not sure that simple solution [pinning Nix 2.18] works for me. I've encountered NAR hash mismatches and behaviour divergences which mean that I'm now stuck on a ratchet of increasing my nix version to keep things working

20:28:55
@k900:0upti.meK900Determinate Flakes20:29:08
@9999years:matrix.org9999yearshttps://github.com/NixOS/nix/pull/10200#issuecomment-242295356320:34:54
@9999years:matrix.org9999yearsi couldn't resist for this one20:35:02
@just1602:systemli.orgjust1602It's a good thing. With a couple of friends we did a nix workshop in the unconference section of a conf, and we end up with si much questions about DetSys that in the end we point everyone toward lix and we explain why the patches and the roadmap is awesome and why the community is so much welcoming.20:42:24
@just1602:systemli.orgjust1602I still refrain myself from posting link to lix under YouTube video about nix, but I don't know how long I'll be able to.20:43:01
20 Oct 2024
@kfears:matrix.orgKFears (tragedy arc)
In reply to @k900:0upti.me
Determinate Flakes
I actually noticed something very cursed between Flakes and DetSys nix-installer a few days ago
08:38:59
@kfears:matrix.orgKFears (tragedy arc)Lockfile in flakes is pretty much C++ internals serialized, so you can never change anything that touches flakes even slightly in C++ code, but also the versioning is utterly broken and useless08:40:49
@kfears:matrix.orgKFears (tragedy arc)Receipt in nix-installer is... Literally serializing Rust internals into JSON08:41:17
@kfears:matrix.orgKFears (tragedy arc)They also have "versioning", but it's pretty much just checking if installer version matches the version in JSON, and otherwise you just die08:41:43
@kfears:matrix.orgKFears (tragedy arc)I think there's like 0% overlap in developers there but it's still uncanny how both flakes and nix-installer have the exact same design mistake at their core08:42:58
@kfears:matrix.orgKFears (tragedy arc)And from my research, there's not a single project that made this mistake, so I can almost picture Eelco ordering the people writing nix-installer to do their absolute best to couple the code with the statefile as much as they possibly can08:45:48
@kfears:matrix.orgKFears (tragedy arc)But that's probably too much of a stretch08:45:58
@kfears:matrix.orgKFears (tragedy arc) * And from my research, there's not a single other project that made this mistake, so I can almost picture Eelco ordering the people writing nix-installer to do their absolute best to couple the code with the statefile as much as they possibly can08:48:30
@kfears:matrix.orgKFears (tragedy arc)I'll probably conclude my article about the flakes with "just use Lix" at this point08:48:55
@ersei:ersei.netersei joined the room.18:04:23
@ersei:ersei.neterseiprobably should've asked in this room before I added a changeset to gerrit...18:10:30
@ersei:ersei.neterseibut better late than never18:10:34
@ersei:ersei.netersei what do y'all think about setting IN_NIX_SHELL in nix3? it's the same behaviour as nix2 18:11:01
@ersei:ersei.netersei(my gerrit changeset in question: https://gerrit.lix.systems/c/lix/+/2090)18:12:01
@9999years:matrix.org9999yearsi'm pro-, you'll have to ask the girlies who care more about back-compat than me tho haha18:26:47
@9999years:matrix.org9999years i thought nix develop set some environment variable 18:27:02
@9999years:matrix.org9999years also you should look up the --impure option instead of setting impure unconditionally probably, but maybe wait to see if people are like We Cannot Do THis first 18:28:08
@ersei:ersei.netersei
In reply to @9999years:matrix.org
i thought nix develop set some environment variable
it sets some nix variables, but nothing that's really meant to be detected like what I'm trying to do
18:29:35
@aloisw:kde.orgaloisw Well nix develop does set IN_NIX_SHELL. 18:30:14
@aloisw:kde.orgaloisw The problem is exactly that the closer thing to nix-shell is actually nix develop. 18:30:40

Show newer messages


Back to Room ListRoom Version: 10