about summary refs log tree commit diff
path: root/pkgs/tools/security/cdxgen/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/cdxgen/default.nix')
-rw-r--r--pkgs/tools/security/cdxgen/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/cdxgen/default.nix b/pkgs/tools/security/cdxgen/default.nix
index 3a6c14ea5f1c..6ea34ed4a834 100644
--- a/pkgs/tools/security/cdxgen/default.nix
+++ b/pkgs/tools/security/cdxgen/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
     node-gyp # required for sqlite3 bindings
     pnpm_9.configHook
     python3 # required for sqlite3 bindings
-  ] ++ lib.optional stdenv.isDarwin [ xcbuild ];
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin [ xcbuild ];
 
   pnpmDeps = pnpm_9.fetchDeps {
     inherit (finalAttrs) pname version src;