about summary refs log tree commit diff
path: root/pkgs/by-name/ow/owmods-cli/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ow/owmods-cli/package.nix')
-rw-r--r--pkgs/by-name/ow/owmods-cli/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ow/owmods-cli/package.nix b/pkgs/by-name/ow/owmods-cli/package.nix
index 23db01329511..92809dab6243 100644
--- a/pkgs/by-name/ow/owmods-cli/package.nix
+++ b/pkgs/by-name/ow/owmods-cli/package.nix
@@ -35,9 +35,9 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     zstd
     libsoup_3
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Security
     darwin.apple_sdk.frameworks.SystemConfiguration
   ];