| 18 Oct 2025 |
matthewcroughan | * but I believe it works fine without re2Support | 12:59:24 |
matthewcroughan | and it's optional | 12:59:26 |
matthewcroughan | (mercurial that is) | 12:59:34 |
matthewcroughan | https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/me/mercurial/package.nix#L9 | 12:59:42 |
dramforever | or maybe we could get a better fork of pyre2 | 13:00:25 |
dramforever | why don't we just make mercurial use google-re2 | 13:08:31 |
matthewcroughan | https://github.com/NixOS/nixpkgs/pull/451665 | 13:36:48 |
matthewcroughan | Weird, this one still fails on Nix specifically | 13:36:55 |
matthewcroughan | like Nix itself, fails to build, but the derivation alone is fine | 13:37:04 |
matthewcroughan |  Download image.png | 13:37:16 |
matthewcroughan | like, is Nix itself overriding perl in some way to make this fail Alyssa Ross ? | 13:37:24 |
matthewcroughan | The code in pkgs/tools/package-management/nix/common-meson.nix looks pretty hacky | 13:37:50 |
matthewcroughan | Like it appears there are even two DBIs instantiated there in the graph | 13:38:13 |
matthewcroughan | to get a pkgs.nixos {} to compile with musl I had to nix.enable = false is the context here | 13:40:25 |
matthewcroughan | I'll make it simpler by just doing the native musl case where it fails too | 13:41:37 |
matthewcroughan | 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 |