about summary refs log tree commit diff
path: root/pkgs/tools/misc/powerline-rs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/powerline-rs/default.nix')
-rw-r--r--pkgs/tools/misc/powerline-rs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/powerline-rs/default.nix b/pkgs/tools/misc/powerline-rs/default.nix
index 53077c58848a..77506e95ba0a 100644
--- a/pkgs/tools/misc/powerline-rs/default.nix
+++ b/pkgs/tools/misc/powerline-rs/default.nix
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-NAhLTrTshCm1QKGaOdD/YaqD6c3oYZwVBst8fvTlScQ=";
 
   nativeBuildInputs = [ pkg-config file perl cmake curl ];
-  buildInputs = [ openssl libssh2 libgit2 libzip ] ++ lib.optional stdenv.isDarwin Security;
+  buildInputs = [ openssl libssh2 libgit2 libzip ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
   COMPLETION_OUT = "out";
   postInstall = ''