about summary refs log tree commit diff
path: root/pkgs/by-name/es/eslint/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/es/eslint/package.nix')
-rw-r--r--pkgs/by-name/es/eslint/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/es/eslint/package.nix b/pkgs/by-name/es/eslint/package.nix
index b1e2732a2804..6ad9acd2afc0 100644
--- a/pkgs/by-name/es/eslint/package.nix
+++ b/pkgs/by-name/es/eslint/package.nix
@@ -7,7 +7,7 @@
 }:
 let
   buildNpmPackage' = buildNpmPackage.override {
-    stdenv = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
+    stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
   };
 in
 buildNpmPackage' rec {