about summary refs log tree commit diff
path: root/pkgs/development/tools/semantic-release/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/semantic-release/default.nix')
-rw-r--r--pkgs/development/tools/semantic-release/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/semantic-release/default.nix b/pkgs/development/tools/semantic-release/default.nix
index 95f92919d15d..da97f7e61bb8 100644
--- a/pkgs/development/tools/semantic-release/default.nix
+++ b/pkgs/development/tools/semantic-release/default.nix
@@ -23,7 +23,7 @@ buildNpmPackage rec {
 
   nativeBuildInputs = [
     python3
-  ] ++ lib.optional stdenv.isDarwin cctools;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin cctools;
 
   # Fixes `semantic-release --version` output
   postPatch = ''