Don't configure meta-mode = Strict in bootstrap
This commit is contained in:
		
							parent
							
								
									d3a1115b99
								
							
						
					
					
						commit
						31e83cac5e
					
				
							
								
								
									
										2
									
								
								.github/scripts/bootstrap.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/scripts/bootstrap.sh
									
									
									
									
										vendored
									
									
								
							| @ -13,4 +13,6 @@ git describe --always | ||||
| ./scripts/bootstrap/bootstrap-haskell | ||||
| 
 | ||||
| [ "$(ghc --numeric-version)" = "${BOOTSTRAP_HASKELL_GHC_VERSION}" ] | ||||
| # https://github.com/actions/runner-images/issues/7061 | ||||
| [ "$(ghcup config | grep --color=never meta-mode)" = "meta-mode: Lax" ] | ||||
| 
 | ||||
|  | ||||
| @ -119,6 +119,10 @@ edo() { | ||||
|     "$@" || die "\"$*\" failed!" | ||||
| } | ||||
| 
 | ||||
| eghcup_raw() { | ||||
| 	"${GHCUP_BIN}/ghcup" "$@" || die "\"ghcup $*\" failed!" | ||||
| } | ||||
| 
 | ||||
| eghcup() { | ||||
| 	_eghcup "$@" | ||||
| } | ||||
| @ -381,10 +385,10 @@ download_ghcup() { | ||||
|     edo . "${GHCUP_DIR}"/env | ||||
|     case "${BOOTSTRAP_HASKELL_DOWNLOADER}" in | ||||
|         "curl") | ||||
|             eghcup config set downloader Curl | ||||
|             eghcup_raw config set downloader Curl | ||||
|             ;; | ||||
|         "wget") | ||||
|             eghcup config set downloader Wget | ||||
|             eghcup_raw config set downloader Wget | ||||
|             ;; | ||||
|         *) | ||||
|             die "Unknown downloader: ${BOOTSTRAP_HASKELL_DOWNLOADER}" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user