Use explicit splicing in clang wrapper

This commit is contained in:
2025-09-08 17:25:47 +02:00
committed by Aleix Boné
parent 06aa1fc5d4
commit 7d02658e44

View File

@@ -65,7 +65,7 @@ in wrapCCWith {
echo "export OMPSS2_RUNTIME=${rtname}" >> $out/nix-support/cc-wrapper-hook
echo "export ${homevar}=${ompss2rt}" >> $out/nix-support/cc-wrapper-hook
'' + optionalString (ompss2rt != null && ompss2rt.pname == "nodes") ''
echo "export NOSV_HOME=${ompss2rt.nosv}" >> $out/nix-support/cc-wrapper-hook
echo "export NOSV_HOME=${ompss2rt}" >> $out/nix-support/cc-wrapper-hook
'';
}