From 9e8a3377297d42d1493742ddcb8ff7fa4fbc61d7 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 20 Jun 2024 16:03:01 +0000 Subject: [PATCH] Revert "xsimd: fix cross compilation" --- pkgs/development/libraries/xsimd/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix index 44d954850e7b..019b3afbefc8 100644 --- a/pkgs/development/libraries/xsimd/default.nix +++ b/pkgs/development/libraries/xsimd/default.nix @@ -32,10 +32,6 @@ stdenv.mkDerivation (finalAttrs: { cmake ]; - buildInputs = [ - doctest - ]; - cmakeFlags = [ # Always build the tests, even if not running them, because testing whether # they can be built is a test in itself. @@ -43,6 +39,9 @@ stdenv.mkDerivation (finalAttrs: { ]; doCheck = true; + nativeCheckInputs = [ + doctest + ]; checkTarget = "xtest"; meta = with lib; {