!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

548 Members
118 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughan
        nixosConfigurations.musl = nixosConfigurations.base.extendModules {
          modules = [
            ./musl.nix
            {
              nixpkgs.buildPlatform = (inputs.nixpkgs.lib.systems.elaborate "aarch64-unknown-linux-musl");
              nixpkgs.hostPlatform = inputs.nixpkgs.lib.recursiveUpdate (inputs.nixpkgs.lib.systems.elaborate "aarch64-unknown-linux-musl") {};
            }
          ];
        };

18:06:48
@matthewcroughan:defenestrate.itmatthewcroughan *
        nixosConfigurations.musl = nixosConfigurations.base.extendModules {
          modules = [
            ./musl.nix
            {
              nixpkgs.buildPlatform = (inputs.nixpkgs.lib.systems.elaborate "aarch64-unknown-linux-musl");
              nixpkgs.hostPlatform = inputs.nixpkgs.lib.recursiveUpdate (inputs.nixpkgs.lib.systems.elaborate "aarch64-unknown-linux-musl") {};
            }
          ];
        };
18:06:49
@dramforever:matrix.orgdramforever i think it's entirely a coincidence that fb-re2 ever worked for python3 18:06:53
@matthewcroughan:defenestrate.itmatthewcroughanLike is there anything wrong with line 5 and 6 three?18:06:55
@matthewcroughan:defenestrate.itmatthewcroughan* Like is there anything wrong with line 5 and 6 there?18:06:57
@matthewcroughan:defenestrate.itmatthewcroughanBecause that causes pkgsMusl.pkgsStatic.musl to end up inside of the closure18:07:06
@matthewcroughan:defenestrate.itmatthewcroughan musl.nix is nothing, just this https://github.com/MatthewCroughan/nixos-musl/blob/refactor/musl.nix 18:08:29
@dramforever:matrix.orgdramforever try nix why-depends? 18:18:13
@matthewcroughan:defenestrate.itmatthewcroughanThat's visible in the nom graph i18:23:12
@matthewcroughan:defenestrate.itmatthewcroughan* That's visible in the nom graph18:23:13
@matthewcroughan:defenestrate.itmatthewcroughan
┃ ┌─ ⏸ run-nixos-vm
┃ │              ┌─ ⏵ initrd-udev-rules ⏱ 9m54s
┃ │              ├─ ⏵ initrd-units ⏱ 10m41s
┃ │           ┌─ ⏸ initrd-linux-6.17.3
┃ │        ┌─ ⏸ boot.json
┃ │        │                 ┌─ ⏸ security-wrapper-passwd-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-su-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-newuidmap-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-mount-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-fusermount-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-unix_chkpwd-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-newgrp-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 ├─ ⏸ security-wrapper-fusermount3-aarch64-unknown-linux-musl waiting for 1 ⏵
┃ │        │                 │        ┌─ ⏸ aarch64-unknown-linux-musl-gcc-14.3.0 waiting for 1 ⏵
┃ │        │                 │        ├─ ⏸ aarch64-unknown-linux-musl-binutils-wrapper-2.44 waiting for 1 ⏵
┃ │        │                 │        ├─ ⏵ musl-static-aarch64-unknown-linux-musl-1.2.5 (buildPhase) ⏱ 11m4s
┃ │        │                 │     ┌─ ⏸ aarch64-unknown-linux-musl-gcc-wrapper-14.3.0
┃ │        │                 │  ┌─ ⏸ stdenv-linux
┃ │        │                 ├─ ⏸ security-wrapper-umount-aarch64-unknown-linux-musl
┃ │        │              ┌─ ⏸ unit-script-suid-sgid-wrappers-start
┃ │        │           ┌─ ⏸ unit-suid-sgid-wrappers.service
┃ │        │        ┌─ ⏸ system-units
┃ │        │     ┌─ ⏸ etc-json
┃ │        │  ┌─ ⏸ etc-dump
┃ │        ├─ ⏸ etc-metadata.erofs
┃ │     ┌─ ⏸ nixos-system-nixos-25.11.20251016.6bec4e9
┃ │  ┌─ ⏸ closure-info
┃ │  ├─ ⏵ linux-6.17.3 (buildPhase) ⏱ 5m44s
┃ ├─ ⏸ nixos-system-nixos-25.11.20251016.6bec4e9
┃ ⏸ nixos-vm
┣━━━ Builds
┗━ ∑ ⏵ 4 │ ✔ 36 │ ⏸ 34 │ ⏱ 11m17s

18:23:38
@matthewcroughan:defenestrate.itmatthewcroughan musl-static-aarch64-unknown-linux-musl-1.2.5 there on line 16 18:24:13
@matthewcroughan:defenestrate.itmatthewcroughan security-wrapper-umount-aarch64-unknown-linux-musl wants it 18:24:23
@matthewcroughan:defenestrate.itmatthewcroughanbecause the stdenv wants it18:24:32
@dramforever:matrix.orgdramforeverah, that makes sense, the wrappers are pkgsStaic18:30:06
@dramforever:matrix.orgdramforever* ah, that makes sense, the wrappers are pkgsStatic18:30:10
@matthewcroughan:defenestrate.itmatthewcroughanOh, is there a reason they have to be pkgsStatic?18:30:22
@matthewcroughan:defenestrate.itmatthewcroughanI didn't expect that 18:30:26
@dramforever:matrix.orgdramforever
  # This is security-sensitive code, and glibc vulns happen from time to time.
  # musl is security-focused and generally more minimal, so it's a better choice here.
  # The dynamic linker is still a fairly complex piece of code, and the wrappers are
  # quite small, so linking it statically is more appropriate.
18:31:29
@dramforever:matrix.orgdramforevertrying to make the security sensitive programs minimal18:31:44
@dramforever:matrix.orgdramforeveri guess18:31:47
@dramforever:matrix.orgdramforeverfb-re2 https://github.com/facebook/pyre2/compare/main...dramforever:pyre2:fix-py3-type18:35:03
@dramforever:matrix.orgdramforeverideally someone actually familiar with python should take a look but this should be correct18:35:27
@dramforever:matrix.orgdramforeverthis is one of those "how did this ever work???" things18:35:43
@matthewcroughan:defenestrate.itmatthewcroughanI mean, reading the news on the musl website indicates that it too has pretty bad vulns from time to time 18:36:09
@matthewcroughan:defenestrate.itmatthewcroughanAnd the speed of their website is concerning 18:36:24
@dramforever:matrix.orgdramforeverthe speed feels like they compile a fresh copy of musl every time i load a page18:38:20
@matthewcroughan:defenestrate.itmatthewcroughanIt's more like it is running on a disposable vape, running mus 18:39:00
@matthewcroughan:defenestrate.itmatthewcroughan* It's more like it is running on a disposable vape, running musl18:39:02
@matthewcroughan:defenestrate.itmatthewcroughanhttps://bogdanthegeek.github.io/blog/projects/vapeserver/18:39:11

Show newer messages


Back to Room ListRoom Version: 6