about summary refs log tree commit diff
path: root/pkgs/development/libraries/gpgme/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/gpgme/default.nix')
-rw-r--r--pkgs/development/libraries/gpgme/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix
index fa4bb1be6dd3..45df332bc0ca 100644
--- a/pkgs/development/libraries/gpgme/default.nix
+++ b/pkgs/development/libraries/gpgme/default.nix
@@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
     # which has a path length limit. Nix on darwin is using a build directory
     # that already has quite a long path and the resulting socket path doesn't
     # fit in the limit. https://github.com/NixOS/nix/pull/1085
-    ++ lib.optionals stdenv.isDarwin [ "--disable-gpg-test" ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--disable-gpg-test" ];
 
   env.NIX_CFLAGS_COMPILE = toString (
     # qgpgme uses Q_ASSERT which retains build inputs at runtime unless