about summary refs log tree commit diff
path: root/pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix')
-rw-r--r--pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix b/pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix
index 63e9861421ab..c0b068499cd3 100644
--- a/pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix
+++ b/pkgs/development/libraries/matrix-sdk-crypto-nodejs/generic.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
     nodejs
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   buildPhase = ''
     runHook preBuild