diff --git a/pkgs/by-name/in/intel-compute-runtime/package.nix b/pkgs/by-name/in/intel-compute-runtime/package.nix index cdfc45903c4a..c0fe30683db0 100644 --- a/pkgs/by-name/in/intel-compute-runtime/package.nix +++ b/pkgs/by-name/in/intel-compute-runtime/package.nix @@ -39,6 +39,9 @@ stdenv.mkDerivation rec { (lib.cmakeFeature "OCL_ICD_VENDORDIR" "${placeholder "out"}/etc/OpenCL/vendors") # The install script assumes this path is relative to CMAKE_INSTALL_PREFIX (lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib") + # disable spectre mitigations (already mitigated in the kernel) + # https://bugs.launchpad.net/ubuntu/+source/intel-compute-runtime/+bug/2110131 + (lib.cmakeBool "NEO_DISABLE_MITIGATIONS" true) ]; outputs = [