intel-compute-runtime: disable fortify3 hardening flag

https://hydra.nixos.org/build/227425926/nixlog/2/tail
This commit is contained in:
Vladimír Čunát 2023-07-14 09:43:55 +02:00
parent c4c0e2e2ec
commit 9becde5b94
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "drivers" ];
# causes redefinition of _FORTIFY_SOURCE
hardeningDisable = [ "fortify3" ];
postInstall = ''
# Avoid clash with intel-ocl
mv $out/etc/OpenCL/vendors/intel.icd $out/etc/OpenCL/vendors/intel-neo.icd