Commit 6d8f384 1 parent e8ae49b commit 6d8f384 Copy full SHA for 6d8f384
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 59
59
## Opamfile
60
60
61
61
## External dependencies
62
+ * Correct flags passed to Cygwin setup for external installations [ #6046 @dra27 fixes #6041 ]
62
63
63
64
## Format upgrade
64
65
Original file line number Diff line number Diff line change @@ -1039,9 +1039,7 @@ let install_packages_commands_t ?(env=OpamVariable.Map.empty) config sys_package
1039
1039
] @ (if Cygwin. is_internal config then
1040
1040
let common =
1041
1041
[ " --upgrade-also" ;
1042
- " --only-site" ;
1043
1042
" --no-write-registry" ;
1044
- " --site" ; Cygwin. mirror;
1045
1043
" --local-package-dir" ;
1046
1044
OpamFilename.Dir. to_string (Cygwin. internal_cygcache () );
1047
1045
]
@@ -1050,7 +1048,10 @@ let install_packages_commands_t ?(env=OpamVariable.Map.empty) config sys_package
1050
1048
" --symlink-type" :: " native" :: common
1051
1049
else
1052
1050
common
1053
- else [] )
1051
+ else [] ) @ (if Cygwin. is_internal config || unsafe_yes then
1052
+ [ " --only-site" ;
1053
+ " --site" ; Cygwin. mirror;
1054
+ ])
1054
1055
],
1055
1056
None
1056
1057
| Debian ->
You can’t perform that action at this time.
0 commit comments