about summary refs log tree commit diff
path: root/pkgs/servers/ftp/bftpd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/ftp/bftpd/default.nix')
-rw-r--r--pkgs/servers/ftp/bftpd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/ftp/bftpd/default.nix b/pkgs/servers/ftp/bftpd/default.nix
index 0aba1e90a164..895e3cd063fc 100644
--- a/pkgs/servers/ftp/bftpd/default.nix
+++ b/pkgs/servers/ftp/bftpd/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
   };
 
   # utmp.h is deprecated on aarch64-darwin
-  postPatch = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) ''
+  postPatch = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) ''
     for file in login.*; do
       substituteInPlace $file --replace "#ifdef HAVE_UTMP_H" "#if 0"
     done