about summary refs log tree commit diff
path: root/pkgs/development/libraries/cracklib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/cracklib/default.nix')
-rw-r--r--pkgs/development/libraries/cracklib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/cracklib/default.nix b/pkgs/development/libraries/cracklib/default.nix
index 2ccb2988305e..bc69141bb988 100644
--- a/pkgs/development/libraries/cracklib/default.nix
+++ b/pkgs/development/libraries/cracklib/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
     hash = "sha256-cAw5YMplCx6vAhfWmskZuBHyB1o4dGd7hMceOG3V51Y=";
   };
 
-  patches = lib.optionals stdenv.isDarwin [
+  patches = lib.optionals stdenv.hostPlatform.isDarwin [
     # Fixes build failure on Darwin due to missing byte order functions.
     # https://github.com/cracklib/cracklib/pull/96
     (fetchpatch2 {