about summary refs log tree commit diff
path: root/pkgs/servers/dante/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/dante/default.nix')
-rw-r--r--pkgs/servers/dante/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/dante/default.nix b/pkgs/servers/dante/default.nix
index 278c518a8106..9b99f51aef59 100644
--- a/pkgs/servers/dante/default.nix
+++ b/pkgs/servers/dante/default.nix
@@ -16,11 +16,11 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook ];
   buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc libxcrypt ];
 
-  configureFlags = if !stdenv.isDarwin
+  configureFlags = if !stdenv.hostPlatform.isDarwin
     then [ "--with-libc=libc.so.6" ]
     else [ "--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}" ];
 
-  dontAddDisableDepTrack = stdenv.isDarwin;
+  dontAddDisableDepTrack = stdenv.hostPlatform.isDarwin;
 
   patches = [
     # Fixes several issues with `osint.m4` that causes incorrect check failures when using newer