Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
40564e8d
by sheaf at 2026-04-27T09:34:46-04:00
1 changed file:
Changes:
| ... | ... | @@ -39,7 +39,9 @@ if %CABMAJOR% lss 3 ( |
| 39 | 39 | exit /B 2
|
| 40 | 40 | )
|
| 41 | 41 | |
| 42 | -for /F "tokens=*" %%a in ('"%CABAL%" --with-compiler=%GHC% path --output-format=key-value 2^>NUL ^| findstr /B "remote-repo-cache:"') do set REMOTE_REPO_CACHE=%%a
|
|
| 42 | +"%CABAL%" --with-compiler=%GHC% path --output-format=key-value > "%TEMP%\ghc_cabal_path.txt" 2>NUL
|
|
| 43 | +for /F "tokens=*" %%a in ('findstr /B "remote-repo-cache:" "%TEMP%\ghc_cabal_path.txt"') do set REMOTE_REPO_CACHE=%%a
|
|
| 44 | +del "%TEMP%\ghc_cabal_path.txt" 2>NUL
|
|
| 43 | 45 | set REMOTE_REPO_CACHE=%REMOTE_REPO_CACHE:remote-repo-cache: =%
|
| 44 | 46 | if not exist "%REMOTE_REPO_CACHE%\hackage.haskell.org" (
|
| 45 | 47 | echo Please run 'cabal update' first
|