about summary refs log tree commit diff
path: root/pkgs/by-name/le/legba/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/le/legba/package.nix')
-rw-r--r--pkgs/by-name/le/legba/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/le/legba/package.nix b/pkgs/by-name/le/legba/package.nix
index 3f2453a13d86..efb9a351340b 100644
--- a/pkgs/by-name/le/legba/package.nix
+++ b/pkgs/by-name/le/legba/package.nix
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-viDfJ214Zf5segjrLSTbHav5T5e219NAF+MvuPow+JQ=";
 
   nativeBuildInputs = [ cmake pkg-config ];
-  buildInputs = [ openssl.dev samba ] ++ lib.optionals stdenv.isDarwin [
+  buildInputs = [ openssl.dev samba ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];