From 54a583dcfac0047116b5c799cf1c0180da32d56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 10 Dec 2025 18:44:07 +0100 Subject: [PATCH] Provide sycl-ls and sycl-trace on wrapped oneapi compiler --- pkgs/intel-oneapi/patch_intel.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/intel-oneapi/patch_intel.nix b/pkgs/intel-oneapi/patch_intel.nix index cf7eace3..67dfc380 100644 --- a/pkgs/intel-oneapi/patch_intel.nix +++ b/pkgs/intel-oneapi/patch_intel.nix @@ -87,6 +87,9 @@ lib.makeOverridable ( ln -s $out/bin/icpx $out/bin/c++ ln -s $out/bin/icx $out/bin/cc + ln -s $ccPath/sycl-ls $out/bin/sycl-ls + ln -s $ccPath/sycl-trace $out/bin/sycl-trace + sed -i 's/.*isCxx=0/isCxx=1/' $out/bin/icpx # Use this to detect when a compiler subprocess is called