19 Oct 2024 |
jade_ | wait i did not even fuck up a backport ???? is it just broken on main??! | 17:52:09 |
jade_ | agh okay no it was a fucked up backport combined with my main being old | 17:54:13 |
9999years | https://github.com/NixOS/nix/pull/8817#issuecomment-2423714552 | 20:28:06 |
9999years | struggling to not say "have you tried lix" | 20:28:16 |
9999years |
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 | Determinate Flakes | 20:29:08 |
9999years | https://github.com/NixOS/nix/pull/10200#issuecomment-2422953563 | 20:34:54 |
9999years | i couldn't resist for this one | 20:35:02 |
just1602 | It'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 | I 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 (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 (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 useless | 08:40:49 |
KFears (tragedy arc) | Receipt in nix-installer is... Literally serializing Rust internals into JSON | 08:41:17 |
KFears (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 die | 08:41:43 |
KFears (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 core | 08:42:58 |
KFears (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 can | 08:45:48 |
KFears (tragedy arc) | But that's probably too much of a stretch | 08:45:58 |
KFears (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 can | 08:48:30 |
KFears (tragedy arc) | I'll probably conclude my article about the flakes with "just use Lix" at this point | 08:48:55 |
| ersei joined the room. | 18:04:23 |
ersei | probably should've asked in this room before I added a changeset to gerrit... | 18:10:30 |
ersei | but better late than never | 18:10:34 |
ersei | what do y'all think about setting IN_NIX_SHELL in nix3? it's the same behaviour as nix2 | 18:11:01 |
ersei | (my gerrit changeset in question: https://gerrit.lix.systems/c/lix/+/2090) | 18:12:01 |
9999years | i'm pro-, you'll have to ask the girlies who care more about back-compat than me tho haha | 18:26:47 |
9999years | i thought nix develop set some environment variable | 18:27:02 |
9999years | 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 | 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 | Well nix develop does set IN_NIX_SHELL . | 18:30:14 |
aloisw | The problem is exactly that the closer thing to nix-shell is actually nix develop . | 18:30:40 |