!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

570 Members
124 Servers

Load older messages


SenderMessageTime
16 Oct 2025
@dramforever:matrix.orgdramforeverno it's fairly easy, i'm surprised i've never heard of anyone complain04:55:56
@dramforever:matrix.orgdramforever the biggest change in my patch was moving the addr2dso function up a little 04:56:10
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192):q04:56:31
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)oops04:56:35
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Apparently I can't just override musl 04:59:26
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)infinite recursion04:59:38
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)
      musl = super.musl.overrideAttrs {
        src = super.fetchFromGitHub {
          owner = "dramforever";
          repo = "musl";
          rev = "0f746cb7a6a1eff157ff90d48bc1661d2612b670";
          hash = "";
        };
      };

04:59:58
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)in an overlay, this doesn't work 05:00:01
@dramforever:matrix.orgdramforeverjust vendor the patch or something05:01:50
@dramforever:matrix.orgdramforeverhttps://github.com/bminor/musl/compare/master...dramforever:musl:dlopen-use-rpath-of-caller-dso.patch05:02:27
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)nice, clever05:04:11
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/3705:05:02
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)We shall see!05:05:03
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)* https://hercules-ci.com/github/MatthewCroughan/nixos-musl/jobs/3805:05:19
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)The above job is going to build a vm test of musl 05:05:28
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) the vm test will just echo hello 05:05:49
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) There's an attribute legacyPackages.aarch64-linux.vmtests which contains each nixosConfiguration 05:07:40
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I gotta sleep now though 05:30:21
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2F3wv9ac7mam9g8y4sxmz3656jsigvr0f1-vm-test-run-musl-vmtest-aarch64-unknown-linux-musl.drv/log?via-job=80756fcf-9740-496c-98fc-a32e2952e4ba05:31:25
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)this one should be the one to see if it fails 05:31:29
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)you won't the kmod context error if it worked 05:31:36
@dramforever:matrix.orgdramforeverthe patch just didn't work https://hercules-ci.com/accounts/github/MatthewCroughan/derivations/%2Fnix%2Fstore%2Fwkck19fim9r0vhn5n5wl568d2f97a9l9-musl-aarch64-unknown-linux-musl-1.2.5.drv/log?via-job=80756fcf-9740-496c-98fc-a32e2952e4ba08:10:45
@dramforever:matrix.orgdramforeverlooks like it's trying to patch twice08:10:51
@dramforever:matrix.orgdramforeveri think08:42:43
@dramforever:matrix.orgdramforeveri can't really tell what's blocked on what08:54:14
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) dramforever: I pushed a lot of BS and the latest commit is what matters 15:39:32
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)It pushes to cachix and you should be able to run the thing and pull the cache 15:39:51
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) nix build github:matthewcroughan/nixos-musl/refactor#nixosConfigurations.gnu-musl.config.system.build.vm 15:40:21
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) dramforever: 👏 15:40:31
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)It worked15:40:32

Show newer messages


Back to Room ListRoom Version: 6