!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

546 Members
115 Servers

Load older messages


SenderMessageTime
19 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughanthat pytest thing broke a lot 10:54:39
@matthewcroughan:defenestrate.itmatthewcroughan I found that -Oz makes a minimal systemd closure 20M -> 18M 11:22:34
@matthewcroughan:defenestrate.itmatthewcroughanI now wonder what space saving effect that could have on the rest of the system if it were applied globally11:22:52
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
11:51:05
@matthewcroughan:defenestrate.itmatthewcroughanweird, why does the systemd initrd depend on two util-linux?11:51:14
@matthewcroughan:defenestrate.itmatthewcroughanWill this work with https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/systemd/default.nix#L496-L498 existing?12:07:54
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i have no idea, i will find out12:09:10
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)currently the thing is giving me trouble and i don't know nearly enough meson for this shit12:09:26
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i wanted to do an unstable build, turns out its all kinds of busted12:09:39
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)ugh its just broken with LTO12:20:05
@matthewcroughan:defenestrate.itmatthewcroughanWhat is, systemd?12:22:21
@matthewcroughan:defenestrate.itmatthewcroughanYeah systemd lto seems not to work12:22:28
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)no, pwaccess12:22:35
@matthewcroughan:defenestrate.itmatthewcroughanoh, that too then I guess 12:22:40
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)its all kinds of broken, but i have a build going12:22:56
@matthewcroughan:defenestrate.itmatthewcroughanI was curious how much space systemd would save with LTO 12:22:59
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)only took 3 patches...12:23:04
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)okay, one patch was unnecessary, but i'll need yet another patch to resolve the cyclic deps against pam12:46:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but thats alright, i know pam pretty well. I already chased cyclic deps on their last update...12:47:15
@matthewcroughan:defenestrate.itmatthewcroughan Huh yeah util-linux-minimal is still used even if you set util-linux to the full one in an overlay 13:11:32
@matthewcroughan:defenestrate.itmatthewcroughansomething somewhere in nixos must be overriding that13:11:39
@matthewcroughan:defenestrate.itmatthewcroughanthe net result is two util-lnux's in the closure even if the main one is minimal13:11:52
@matthewcroughan:defenestrate.itmatthewcroughan
modules/system/boot/loader/systemd-boot/systemd-boot.nix
79:        ${pkgs.util-linuxMinimal}/bin/findmnt ${efiSysMountPoint} > /dev/null || fail efiSysMountPoint ${efiSysMountPoint}
81:          "${pkgs.util-linuxMinimal}/bin/findmnt ${cfg.xbootldrMountPoint} > /dev/null || fail xbootldrMountPoint ${cfg.xbootldrMountPoint}"
13:12:27
@matthewcroughan:defenestrate.itmatthewcroughanYup.. made them align, now I'm good 13:15:39
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
13:15:41
@matthewcroughan:defenestrate.itmatthewcroughanimage.png
Download image.png
13:30:41
@matthewcroughan:defenestrate.itmatthewcroughanhmm, why does the initrd depend on shadow 13:31:01
@matthewcroughan:defenestrate.itmatthewcroughan it's initrd-shells but I can't find this in nixpkgs as a string 13:33:23
@matthewcroughan:defenestrate.itmatthewcroughan this is with bashless though, so boot.initrd.shell.enable should be false13:34:44
@matthewcroughan:defenestrate.itmatthewcroughanand it is, so this is a weird inclusion13:34:50

Show newer messages


Back to Room ListRoom Version: 6