about summary refs log tree commit diff
path: root/pkgs/by-name/se/servo/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/se/servo/package.nix')
-rw-r--r--pkgs/by-name/se/servo/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix
index de7efca2767f..fc586d5ddcd9 100644
--- a/pkgs/by-name/se/servo/package.nix
+++ b/pkgs/by-name/se/servo/package.nix
@@ -130,7 +130,7 @@ rustPlatform.buildRustPackage {
     libGL
     xorg.libX11
     xorg.libxcb
-  ] ++ (lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ]);
+  ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ]);
 
   # copy resources into `$out` to be used during runtime
   # link runtime libraries