about summary refs log tree commit diff
path: root/pkgs/by-name/me/mesonlsp/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/me/mesonlsp/package.nix')
-rw-r--r--pkgs/by-name/me/mesonlsp/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/me/mesonlsp/package.nix b/pkgs/by-name/me/mesonlsp/package.nix
index 70a7417ce958..e1e0a3b771c1 100644
--- a/pkgs/by-name/me/mesonlsp/package.nix
+++ b/pkgs/by-name/me/mesonlsp/package.nix
@@ -52,11 +52,11 @@ stdenv.mkDerivation (finalAttrs: {
       libpkgconf
       nlohmann_json
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       libossp_uuid
       pkgsStatic.fmt
     ]
-    ++ lib.optionals stdenv.isLinux [ libuuid ];
+    ++ lib.optionals stdenv.hostPlatform.isLinux [ libuuid ];
 
   mesonFlags = [ "-Dbenchmarks=false" ];