about summary refs log tree commit diff
path: root/pkgs/development/libraries/virtualpg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/virtualpg/default.nix')
-rw-r--r--pkgs/development/libraries/virtualpg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/virtualpg/default.nix b/pkgs/development/libraries/virtualpg/default.nix
index d9778decd129..e15961437002 100644
--- a/pkgs/development/libraries/virtualpg/default.nix
+++ b/pkgs/development/libraries/virtualpg/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [ postgresql sqlite ]
-    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Kerberos ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Kerberos ];
 
   meta = with lib; {
     description = "Loadable dynamic extension to both SQLite and SpatiaLite";