!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

570 Members
124 Servers

Load older messages


SenderMessageTime
18 Oct 2025
@dramforever:matrix.orgdramforeveryeah that's on the mailing list12:55:10
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)You gave me a compare link to github I vaguely remember, I must have been busy on some other task at the time 12:55:27
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://github.com/facebook/pyre2/compare/main...dramforever:pyre2:fix-py3-type this?12:57:36
@dramforever:matrix.orgdramforeveryeah12:57:45
@dramforever:matrix.orgdramforeveri think this one might be a good candidate to remove dependence on12:58:15
@dramforever:matrix.orgdramforever might 12:58:29
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah Nix depends on it because of dependency on Mercurial for the functional tets 12:58:49
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)* Yeah Nix depends on it because of dependency on Mercurial for the functional tests12:58:51
@dramforever:matrix.orgdramforeveri don't have any concrete reason for why it's bad other than it looking crusty12:59:02
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)but I believe it works fine without re2SUpport 12:59:20
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)* but I believe it works fine without re2Support 12:59:24
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)and it's optional12:59:26
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)(mercurial that is)12:59:34
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/me/mercurial/package.nix#L912:59:42
@dramforever:matrix.orgdramforeveror maybe we could get a better fork of pyre213:00:25
@dramforever:matrix.orgdramforeverwhy don't we just make mercurial use google-re213:08:31
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)https://github.com/NixOS/nixpkgs/pull/45166513:36:48
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Weird, this one still fails on Nix specifically13:36:55
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)like Nix itself, fails to build, but the derivation alone is fine13:37:04
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)image.png
Download image.png
13:37:16
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) like, is Nix itself overriding perl in some way to make this fail Alyssa Ross ? 13:37:24
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) The code in pkgs/tools/package-management/nix/common-meson.nix looks pretty hacky 13:37:50
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Like it appears there are even two DBIs instantiated there in the graph 13:38:13
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) to get a pkgs.nixos {} to compile with musl I had to nix.enable = false is the context here 13:40:25
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I'll make it simpler by just doing the native musl case where it fails too13:41:37
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)

Ah, in that case the following happens, so it fails differently

        > check flags: SHELL=/nix/store/idi6v58lxi4qp6l41n7w6914ggpxnmqr-bash-5.3p3/bin/bash VERBOSE=y test
┃        > "/nix/store/aqnlwa4lky3sf8mrzzdvi0d8mmc3g3ni-perl-5.40.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DBI.bs blib/arch/auto/DBI/DBI.bs 644
┃        > PERL_DL_NONLAZY=1 "/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
┃        > /nix/store/idi6v58lxi4qp6l41n7w6914ggpxnmqr-bash-5.3p3/bin/bash: line 1: /bin/perl: No such file or directory
┃        > make: *** [Makefile:1435: test_dynamic] Error 127
┃        For full logs, run:
┃          nix log /nix/store/b6chj56gypfcy72xikpga7qqg841qarc-perl5.40.0-DBI-1.644.drv
13:42:00
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) Alyssa Ross: That's great! I see your splicing fixed one thing but showed this error up 13:48:37
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)The above /bin/perl not found issue happens when I apply your patch https://github.com/NixOS/nixpkgs/pull/452642#discussion_r243703077713:48:53
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) But is solved the headers/type issues like /nix/store/imi8qddc1zxz2s76m5xvmbyl945i1ppg-perl-5.40.0/lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/proto.h:10777:15: error: unknown type name 'off64_t'; did you mean 'off_t'? 13:49:26
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) * But it solves the headers/type issues like /nix/store/imi8qddc1zxz2s76m5xvmbyl945i1ppg-perl-5.40.0/lib/perl5/5.40.0/aarch64-linux-thread-multi/CORE/proto.h:10777:15: error: unknown type name 'off64_t'; did you mean 'off_t'? 13:49:34

Show newer messages


Back to Room ListRoom Version: 6