| 19 Oct 2025 |
matthewcroughan | vde2 fails like that | 10:18:15 |
matthewcroughan | Ah okay pytest actually only fails to produce devdoc a percentage of the time | 10:18:33 |
matthewcroughan | The real error is that it's producing a bad output path | 10:18:43 |
Alyssa Ross | ah that's a common one | 10:18:46 |
matthewcroughan | error: output '/nix/store/2ldd5ibxb8i538v6cch3j8zkyvkq5mq9-python3.13-pytest-8.4.2-aarch64-unknown-linux-musl' is not allowed to refer to the following paths:
┃ /nix/store/m0b67b3lmjcxa8aplpl75qpb26gr5vsf-python3-3.13.8
| 10:18:58 |
matthewcroughan | And that is because of this | 10:19:08 |
matthewcroughan | https://github.com/NixOS/nixpkgs/pull/451506 | 10:19:09 |
Alyssa Ross | "ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
| 10:19:28 |
Alyssa Ross | that's the solution any time you see an rpl_malloc error | 10:19:34 |
Alyssa Ross | If you want to be very thorough you can gate between !lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform but I don't expect we support any libcs where the answer wouldn't be yes | 10:20:15 |
Alyssa Ross | * If you want to be very thorough you can gate behind !lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform but I don't expect we support any libcs where the answer wouldn't be yes | 10:20:23 |
matthewcroughan | wasm? | 10:20:38 |
matthewcroughan | https://github.com/virtualsquare/vde-2 | 10:21:45 |
matthewcroughan | huh | 10:21:46 |
matthewcroughan |
- With VDE it is possible to create a virtual network of UML machines running
on several real computer
| 10:21:52 |
matthewcroughan | I wonder if we could make a VM test driver that is powered by UML instead of qemu | 10:22:05 |
matthewcroughan | it doesn't look like the thing I need to patch is actually in the vde2 source tree though | 10:22:49 |
matthewcroughan | there is no config.h there | 10:23:01 |
matthewcroughan | ah it's a generated one postConfigure | 10:23:18 |
matthewcroughan | https://github.com/virtualsquare/vde-2/blob/master/CMakeLists.txt#L284 | 10:23:22 |
Grimmauld (any/all) | wait whats the difference between lib.systems.equals and == ? | 10:24:07 |
matthewcroughan | readability I guess? :D | 10:24:18 |
Puna | https://github.com/NixOS/nixpkgs/pull/238331 | 10:26:53 |
matthewcroughan | Now the pytest issue, I don't know how I cna fix that | 10:26:57 |
matthewcroughan | because I thought I already had fixed it in my override | 10:27:08 |
matthewcroughan | # https://github.com/NixOS/nixpkgs/pull/451506
python3 = super.python3.override {
packageOverrides = pyfinal: pyprev: {
pytest = pyprev.pytest.overrideAttrs {
dontWrapPythonPrograms = false;
};
};
};
| 10:27:52 |
Puna | * https://github.com/NixOS/nixpkgs/pull/238331
function equality in Nix is unreliable, and the elaborated platform attrsets contain functions | 10:28:49 |
matthewcroughan | But when the VM test gets invoked, somehow this goes out the window | 10:33:01 |
matthewcroughan |  Download image.png | 10:33:10 |
matthewcroughan | Like the above overlay works fine for the nixos system, but not for a vmtest of that same config | 10:35:04 |