!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

588 Members
NixOS ❤️ systemd164 Servers

Load older messages


SenderMessageTime
18 Jan 2025
@elvishjerricco:matrix.org@elvishjerricco:matrix.org phaer: Ok, confirmed there's a systemd-initrd-specific bug you're dealing with here: https://gist.github.com/ElvishJerricco/dca95eb4ea9fc410bd525c3b15b68fdd 20:21:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat test fails if systemd initrd is enabled, but not if it's disabled20:22:12
19 Jan 2025
@jade_:matrix.orgjade_ this is done iirc, both cppnix and lix have temp-dir by now 03:23:23
@jade_:matrix.orgjade_but maybe there's additional breakage around that03:23:37
@emilazy:matrix.orgemilyI think only Lix does03:24:03
@emilazy:matrix.orgemilybut I believe there were some further subtleties03:24:09
@jade_:matrix.orgjade_probably. i unfortunately do not have a memory03:24:20
@emilazy:matrix.orgemily I run with /nix/tmp and it works okay but I remember there being some missing pieces to put it all together 03:24:38
@emilazy:matrix.orgemilyit's also kind of an awkward flag day because migrating existing installations isn't practical03:24:46
@jade_:matrix.orgjade_yes03:24:50
@jade_:matrix.orgjade_indeed03:24:52
@emilazy:matrix.orgemilyso after you flip the switch some stuff will break and other stuff will start working03:24:57
@emilazy:matrix.orgemilythe stuff that breaks is stuff that should be fixed in Nixpkgs but it's still a pain03:25:06
@jade_:matrix.orgjade_we could certainly make a way to do it, but it's going to be tough03:25:07
@jade_:matrix.orgjade_nix-store --export into nix-store --import more or less ought to do it i think03:25:26
@jade_:matrix.orgjade_or nix copy03:25:30
@emilazy:matrix.orgemilycopying GC that assumes you have 2× your heap size is painful enough when it's in memory, I'm not sure it's workable for a migration plan for disk storage :)03:26:08
@emilazy:matrix.orgemilyor if you mean path by path then I guess that could work03:26:20
@jade_:matrix.orgjade_yeah03:26:28
@jade_:matrix.orgjade_path by path03:26:30
@emilazy:matrix.orgemilythough it'd be awkward to invalidate paths without breaking anything, you might need some kind of overlayed store that combines them 🥴03:26:34
@jade_:matrix.orgjade_due to technical limitations there is no getting away from needing a store worth of extra space i dont think03:26:53
@jade_:matrix.orgjade_unless you want to break the store in the meantime03:27:03
@emilazy:matrix.orgemily I think /nix/store is disposable enough that just telling people to reinstall if they run into case-sensitivity issues might be the best option. but a bit sad. 03:27:03
@jade_:matrix.orgjade_for sure, but we could pretty easily write a cleaner migration script if you do have the space after gc'ing03:27:25
@emilazy:matrix.orgemilyif you can overlay the two stores together then you can just migrate paths in any order and purge the old ones immediately without even worrying about references. unfortunately that is probably even more brittle than the entire rest of the plan03:27:39
@emilazy:matrix.orgemilybut yeah maybe 2× disk isn't so bad I dunno03:27:46
@jade_:matrix.orgjade_the issue with overlaying is that macOS is "lol lmao" as far as doing fs crmes03:27:58
@jade_:matrix.orgjade_so it would not be available to the rest of the system03:28:10
@jade_:matrix.orgjade_ if you accept downtime of the stuff that is in the store, sure, doable 03:28:20

Show newer messages


Back to Room ListRoom Version: 6