diff options
author | Colin <colin@uninsane.org> | 2024-06-20 13:19:58 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2024-06-20 13:19:58 +0000 |
commit | b2092f085968880d91e77e5ea6c52adc55775bfa (patch) | |
tree | 61d32224e0bd925375181203de913625e64ed81b /pkgs | |
parent | 47f47fe6b0f8a14513cc5203eb760e627ba77a60 (diff) |
xsimd: fix cross compilation
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/xsimd/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix index 019b3afbefc84..44d954850e7b6 100644 --- a/pkgs/development/libraries/xsimd/default.nix +++ b/pkgs/development/libraries/xsimd/default.nix @@ -32,6 +32,10 @@ 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. @@ -39,9 +43,6 @@ stdenv.mkDerivation (finalAttrs: { ]; doCheck = true; - nativeCheckInputs = [ - doctest - ]; checkTarget = "xtest"; meta = with lib; { |