about summary refs log tree commit diff
path: root/pkgs/applications/blockchains/electrs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/electrs/default.nix')
-rw-r--r--pkgs/applications/blockchains/electrs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/blockchains/electrs/default.nix b/pkgs/applications/blockchains/electrs/default.nix
index f89b34097794..a31982666ab0 100644
--- a/pkgs/applications/blockchains/electrs/default.nix
+++ b/pkgs/applications/blockchains/electrs/default.nix
@@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
   ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
   ROCKSDB_LIB_DIR = "${rocksdb}/lib";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   passthru.updateScript = ./update.sh;