about summary refs log tree commit diff
path: root/pkgs/tools/archivers/gbl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/gbl/default.nix')
-rw-r--r--pkgs/tools/archivers/gbl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/gbl/default.nix b/pkgs/tools/archivers/gbl/default.nix
index f025a0c578c1..6bbc31a6b1c6 100644
--- a/pkgs/tools/archivers/gbl/default.nix
+++ b/pkgs/tools/archivers/gbl/default.nix
@@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-CeGLSseKUe2XudRqZm5Y7o7ZLDtDBg/MFunOGqxFZGM=";
 
   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   passthru.tests.version =
     testers.testVersion { package = gbl; };