Skip to content

Commit 5a6864c

Browse files
authored
Merge pull request #14264 from xokdvium/fix-splicing-test
tests: Fix splicing in functional tests for nix-cli
2 parents 94cfba7 + 17b7fb3 commit 5a6864c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/functional/package.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ mkMesonDerivation (
6060
];
6161

6262
nativeBuildInputs = finalAttrs.passthru.externalNativeBuildInputs ++ [
63-
nix-cli
63+
# Explicitly splice the hostHost variant to fix LLVM tests. The nix-cli
64+
# has to be in PATH, but must come from the host context where it's built
65+
# with libc++.
66+
(nix-cli.__spliced.hostHost or nix-cli)
6467
];
6568

6669
buildInputs = [

0 commit comments

Comments
 (0)