about summary refs log tree commit diff
path: root/pkgs/by-name/re/refinery-cli/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/re/refinery-cli/package.nix')
-rw-r--r--pkgs/by-name/re/refinery-cli/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/re/refinery-cli/package.nix b/pkgs/by-name/re/refinery-cli/package.nix
index c70e69bee988..59a5dd255ba6 100644
--- a/pkgs/by-name/re/refinery-cli/package.nix
+++ b/pkgs/by-name/re/refinery-cli/package.nix
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ openssl ]
-    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.SystemConfiguration ];
 
   meta = with lib; {
     description = "Run migrations for the Refinery ORM for Rust via the CLI";