about summary refs log tree commit diff
path: root/pkgs/development/libraries/popt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/popt/default.nix')
-rw-r--r--pkgs/development/libraries/popt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/popt/default.nix b/pkgs/development/libraries/popt/default.nix
index e97629b0dfd0..282203a98af7 100644
--- a/pkgs/development/libraries/popt/default.nix
+++ b/pkgs/development/libraries/popt/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
 
-  patches = lib.optionals stdenv.isCygwin [
+  patches = lib.optionals stdenv.hostPlatform.isCygwin [
     ./1.16-cygwin.patch
     ./1.16-vpath.patch
   ] ++ lib.optionals stdenv.hostPlatform.isMinGW [