about summary refs log tree commit diff
path: root/pkgs/by-name/in/inshellisense/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/in/inshellisense/package.nix')
-rw-r--r--pkgs/by-name/in/inshellisense/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/in/inshellisense/package.nix b/pkgs/by-name/in/inshellisense/package.nix
index d7a1589ccbcf..3b2a84ace0c5 100644
--- a/pkgs/by-name/in/inshellisense/package.nix
+++ b/pkgs/by-name/in/inshellisense/package.nix
@@ -20,8 +20,8 @@ buildNpmPackage rec {
   # npm ERR!   int ret = openpty(&master, &slave, nullptr, NULL, static_cast<winsi ze*>(&winp));
   #
   # when `node-gyp` tries to build the dep. The below allows `npm` to download the prebuilt binary.
-  makeCacheWritable = stdenv.isDarwin;
-  nativeBuildInputs = lib.optional stdenv.isDarwin cacert;
+  makeCacheWritable = stdenv.hostPlatform.isDarwin;
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin cacert;
 
   meta = with lib; {
     description = "IDE style command line auto complete";