diff --git a/packages/conf-git/conf-git.1.0/opam b/packages/conf-git/conf-git.1.0/opam index ea83b502f97..f20d0bc3171 100644 --- a/packages/conf-git/conf-git.1.0/opam +++ b/packages/conf-git/conf-git.1.0/opam @@ -17,6 +17,10 @@ depexts: [ ["git"] {os-distribution = "arch"} ["git"] {os = "macos" & os-distribution = "homebrew"} ["system:git"] {os = "win32" & os-distribution = "cygwinports"} + # This is intentionally os = "cygwin" and *not* os-distribution = "cygwin" + # For native Windows, opam 2.2 recommends Git for Windows, so for native + # Windows there's no need for depext support. + ["git"] {os = "cygwin"} ] synopsis: "Virtual package relying on git" description: diff --git a/packages/conf-git/conf-git.1.1/opam b/packages/conf-git/conf-git.1.1/opam index 99ef4159d20..e5839e1e30d 100644 --- a/packages/conf-git/conf-git.1.1/opam +++ b/packages/conf-git/conf-git.1.1/opam @@ -16,6 +16,10 @@ depexts: [ ["git"] {os-family = "arch"} ["git"] {os-family = "alpine"} ["system:git"] {os = "win32" & os-distribution = "cygwinports"} + # This is intentionally os = "cygwin" and *not* os-distribution = "cygwin" + # For native Windows, opam 2.2 recommends Git for Windows, so for native + # Windows there's no need for depext support. + ["git"] {os = "cygwin"} ["git"] {os = "freebsd"} ] synopsis: "Virtual package relying on git"