Closed martinpitt closed 6 months ago
I also tried nix-env -i cntr
, but that doesn't seem to do anything useful or obvious.
I added commit f8fb070a378fe7883982774abd2d3b122ae86632 which fixes meson log printing. The log now shows the error properly. I still can't make sense of it, though.
Sounds like a downfall of https://github.com/NixOS/nixpkgs/commit/58762560bc3e8843bdfcada1b04ebcd019c5529e. If a dependency is expected at build-time, it should go to nativeBuildInputs
.
3 weeks ago, the nix test has started to fail:
This is annoying to debug: with
DEBUG=1 tests/run-nix
I can attach to the container withpodman exec -itl bash
, but the log saysbut that doesn't actually work:
So I went on with some
set -x
debugging, and it showswhich isn't obvious --
git
is installed in the container, just somehow not in the build environment. For a long time, adding it as a build dependency withbuildInputs = attrs.buildInputs ++ [ pkgs.git ];
worked, but somehow it seems to have stopped.@jtojnar @flokli do you know what's going on here and how to debug this? Possibly also how to provide a sane interactive debug environment in that "inner" build container, so that this can be debugged more interactively?