summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaksym Balatsko <maksym.balatsko-ext@arista.com>2023-10-01 10:52:22 +0200
committerYt <happysalada@tuta.io>2023-10-02 09:36:35 +0000
commit76a8ec168c7da80df5773f15b925ce13044d1a39 (patch)
treeec012cf665a463ad3a2ae2d96a958a5813c60bdf
parent8cdc1087b930adb29358a22ef8a756e23316fdc1 (diff)
downloadnixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar.gz
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar.bz2
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar.lz
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar.xz
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.tar.zst
nixpkgs-76a8ec168c7da80df5773f15b925ce13044d1a39.zip
hyperscan: enable build for x86_64-darwin
-rw-r--r--pkgs/development/libraries/hyperscan/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/hyperscan/default.nix b/pkgs/development/libraries/hyperscan/default.nix
index 2bfde78f7db..0cfb4d2259b 100644
--- a/pkgs/development/libraries/hyperscan/default.nix
+++ b/pkgs/development/libraries/hyperscan/default.nix
@@ -28,9 +28,9 @@ stdenv.mkDerivation (finalAttrs: {
   ];
 
   cmakeFlags = [
-    "-DFAT_RUNTIME=ON"
     "-DBUILD_AVX512=ON"
   ]
+  ++ lib.optional (!stdenv.isDarwin) "-DFAT_RUNTIME=ON"
   ++ lib.optional (withStatic) "-DBUILD_STATIC_AND_SHARED=ON"
   ++ lib.optional (!withStatic) "-DBUILD_SHARED_LIBS=ON";
 
@@ -67,7 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
 
     homepage = "https://www.hyperscan.io/";
     maintainers = with maintainers; [ avnik ];
-    platforms = [ "x86_64-linux" ];
+    platforms = [ "x86_64-linux" "x86_64-darwin" ];
     license = licenses.bsd3;
   };
 })