about summary refs log tree commit diff
path: root/pkgs/tools/misc/ostree-rs-ext/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/ostree-rs-ext/default.nix')
-rw-r--r--pkgs/tools/misc/ostree-rs-ext/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/ostree-rs-ext/default.nix b/pkgs/tools/misc/ostree-rs-ext/default.nix
index d7b09b65f7ae..ece63fe6768a 100644
--- a/pkgs/tools/misc/ostree-rs-ext/default.nix
+++ b/pkgs/tools/misc/ostree-rs-ext/default.nix
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
     openssl
     zlib
     ostree
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.Security
   ];