!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

81 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5125 Servers

Load older messages


SenderMessageTime
1 Aug 2022
@winterqt:nixos.devWinter (she/her)
In reply to @elvishjerricco:matrix.org
Is there a way to get the rust dependencies to build in a separate derivation from make-initrd-ng? It's really annoying that what used to be like a 1s build now takes closer to 10s when trying to iterate on it
* Yes, but our infrastructure doesn't support it.
16:50:14
@winterqt:nixos.devWinter (she/her)(External projects do, though.)16:50:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.org It'd be really nice. haskellPackages has spoiled me :P 16:52:36
@winterqt:nixos.devWinter (she/her) K900: Why would the Goblin changes potentially fix cross? Like, were we not able to pass in the proper patchelf binary paths? 16:53:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Winter (she/her): It looks like patchelf would have done the trick 16:53:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgBut there's a lot to like about using goblin for other reasons16:53:42
@winterqt:nixos.devWinter (she/her)Yeah, definitely.16:53:49
@k900:0upti.meK900 patchelf does seem to work, but ldd doesn't, and neither does strip 16:53:53
@winterqt:nixos.devWinter (she/her)But was just curious about that aspect.16:53:53
@k900:0upti.meK900 Linus fixed it to use the right strip 16:54:06
@k900:0upti.meK900And I honestly wasn't 100% sure patchelf would have worked16:54:17
@k900:0upti.meK900And also I knew goblin was great16:54:23
@winterqt:nixos.devWinter (she/her)Yeah Goblin is definitely better.16:54:35
@winterqt:nixos.devWinter (she/her)Was ZFS support added since the initial PR, btw?16:55:11
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYes16:55:16
@winterqt:nixos.devWinter (she/her)I didn't see any commits but I may be looking in the wrong place.16:55:21
@winterqt:nixos.devWinter (she/her)Oh, cool.16:55:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAFAIK zfs support is now on par with scripted initrd16:55:28
@winterqt:nixos.devWinter (she/her)What commit added that, what should I be looking for, out of curiosity?16:55:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghttps://github.com/NixOS/nixpkgs/pull/16826916:56:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgRedacted or Malformed Event17:25:09
@k900:0upti.meK900Applied all the suggestions on the goblin PR19:57:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Cool. I'd still like someone's answer to this comment, but I'm inclined to merge if we get no such answer in the next day or two 20:08:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Oh, and apparently we're getting an eval error because there's no lib.maintainers.dasJ 20:11:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Ah, lib.maintainers.das_j 20:11:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Also, Janne Heß did you ever consent to being added to that maintainer list? I gave a thumbs up for myself; I apologize if I accidentally indicated you were cool with it too 20:12:35
@winterqt:nixos.devWinter (she/her) So I'm considering giving systemd initrd a whirl on my machines. The one requirement I have is that I'm able to wipe my ZFS root dataset on startup. Would this be accomplished by defining a unit that requires and runs after zfs-import-<pool name>? I think that's... all I really have to do? 21:49:27
@winterqt:nixos.devWinter (she/her) (I do this with postDeviceCommands now.) 21:49:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat sounds right to me.21:50:13
@winterqt:nixos.devWinter (she/her) Also, semi off-topic but I think someone here would know: why does the ZFS module explicitly use ${cfgZfs.package}/sbin/zfs in its scripts, when this is already added to initrd's packages and the system packages, so it really should just be able to call zfs, unless there's a reason this is explicitly done that I'm missing? 21:53:02

Show newer messages


Back to Room ListRoom Version: 6