about summary refs log tree commit diff
path: root/pkgs/by-name/sq/sqlite-vss/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sq/sqlite-vss/package.nix')
-rw-r--r--pkgs/by-name/sq/sqlite-vss/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/sq/sqlite-vss/package.nix b/pkgs/by-name/sq/sqlite-vss/package.nix
index 5f25699c9920..bc3612ceebe0 100644
--- a/pkgs/by-name/sq/sqlite-vss/package.nix
+++ b/pkgs/by-name/sq/sqlite-vss/package.nix
@@ -25,8 +25,8 @@ stdenv.mkDerivation (finalAttrs: {
   nativeBuildInputs = [ cmake ];
 
   buildInputs = [ nlohmann_json faiss sqlite ]
-    ++ lib.optional stdenv.isLinux gomp
-    ++ lib.optional stdenv.isDarwin llvmPackages.openmp;
+    ++ lib.optional stdenv.hostPlatform.isLinux gomp
+    ++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.openmp;
 
   SQLITE_VSS_CMAKE_VERSION = finalAttrs.version;