pythonPackages.dlib: disable AVX instructions during checkPhase

This commit is contained in:
Maximilian Bosch 2018-10-29 18:18:39 +01:00
parent c41603ab1b
commit ac499a345a
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -964,6 +964,10 @@ in {
dlib = buildPythonPackage rec {
inherit (pkgs.dlib) name src nativeBuildInputs meta buildInputs;
checkPhase = ''
${python.interpreter} nix_run_setup test --no USE_AVX_INSTRUCTIONS
'';
patches = [ ../development/python-modules/dlib/build-cores.patch ];
checkInputs = with self; [ pytest ];