!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

528 Members
110 Servers

Load older messages


SenderMessageTime
19 Oct 2025
@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
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)

matthewcroughan: i have copied the nixosTests.login and added security.enableWrappers = false + pwaccess stuff, and the test is succeeding. Its screaming at me and i am definitely doing things wrong, but this might be progress?

Bad news is, pwaccess uses fgetspent / fgetspent which are unavailable on musl. Not sure yet how i'll fix that pain

16:20:42
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) *

matthewcroughan: i have copied the nixosTests.login and added security.enableWrappers = false + pwaccess stuff, and the test is succeeding. Its screaming at me and i am definitely doing things wrong, but this might be progress?

Bad news is, pwaccess uses fgetspent_r / fgetspent_r which are unavailable on musl. Not sure yet how i'll fix that pain

16:21:32
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)Anyways, my WIP tree is at https://github.com/NixOS/nixpkgs/pull/453557, opened a draft PR to track this.16:32:20
@dramforever:matrix.orgdramforeverthere's like one thread https://inbox.vuxu.org/musl/4ac5ac1b-217f-442f-fc35-bfbf015287bb@adelielinux.org/16:36:30
@dramforever:matrix.orgdramforevergood lord is the official openwall mailing list site unusable16:37:01

Show newer messages


Back to Room ListRoom Version: 6