about summary refs log tree commit diff
path: root/pkgs/tools/misc/octofetch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/octofetch/default.nix')
-rw-r--r--pkgs/tools/misc/octofetch/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/octofetch/default.nix b/pkgs/tools/misc/octofetch/default.nix
index f254e77ebdea..1218cb1f7b0f 100644
--- a/pkgs/tools/misc/octofetch/default.nix
+++ b/pkgs/tools/misc/octofetch/default.nix
@@ -22,8 +22,8 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = lib.optionals stdenv.isLinux [ openssl ]
-    ++ lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   meta = with lib; {
     homepage = "https://github.com/azur1s/octofetch";