1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 11:36:03 +01:00

tests: Fix splicing in functional tests for nix-cli

This is necessary to fix nix-everything-llvm.
The problem here is that nix-cli is taken from the previous
stage that is built with libstdc++, but this derivation builds
plugins with libc++ and the plugin load fails miserably.
This commit is contained in:
Sergei Zimmerman 2025-10-16 01:04:26 +03:00
parent 0f1cfa4d60
commit 17b7fb383f
No known key found for this signature in database

View file

@ -60,7 +60,10 @@ mkMesonDerivation (
];
nativeBuildInputs = finalAttrs.passthru.externalNativeBuildInputs ++ [
nix-cli
# Explicitly splice the hostHost variant to fix LLVM tests. The nix-cli
# has to be in PATH, but must come from the host context where it's built
# with libc++.
(nix-cli.__spliced.hostHost or nix-cli)
];
buildInputs = [