about summary refs log tree commit diff
path: root/pkgs/tools/security/mkp224o/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/mkp224o/default.nix')
-rw-r--r--pkgs/tools/security/mkp224o/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/mkp224o/default.nix b/pkgs/tools/security/mkp224o/default.nix
index 53b0e38a0dca..318284a4318f 100644
--- a/pkgs/tools/security/mkp224o/default.nix
+++ b/pkgs/tools/security/mkp224o/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
         { suffix = "donna";         configureFlags = ["--enable-donna"]; }
       ] ++ lib.optionals stdenv.hostPlatform.isx86 [
         { suffix = "donna-sse2";    configureFlags = ["--enable-donna-sse2"]; }
-      ] ++ lib.optionals (!stdenv.isDarwin && stdenv.isx86_64) [
+      ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
         { suffix = "amd64-51-30k";  configureFlags = ["--enable-amd64-51-30k"]; }
         { suffix = "amd64-64-24k";  configureFlags = ["--enable-amd64-64-24k"]; }
       ];