about summary refs log tree commit diff
path: root/pkgs/by-name/oc/ocis-bin/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/oc/ocis-bin/package.nix')
-rw-r--r--pkgs/by-name/oc/ocis-bin/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/oc/ocis-bin/package.nix b/pkgs/by-name/oc/ocis-bin/package.nix
index a0b8a62ed4629..e853e40b35bcd 100644
--- a/pkgs/by-name/oc/ocis-bin/package.nix
+++ b/pkgs/by-name/oc/ocis-bin/package.nix
@@ -18,9 +18,9 @@ let
     ."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
 
   os =
-    if stdenv.isLinux then
+    if stdenv.hostPlatform.isLinux then
       "linux"
-    else if stdenv.isDarwin then
+    else if stdenv.hostPlatform.isDarwin then
       "darwin"
     else
       throw "Unsupported OS";