Skip to content

Commit c76d4ee

Browse files
authored
Merge pull request #3 from Mistuke/gh-2-fix-sphinx
Add pip and request
2 parents e36d5c1 + c48b8c9 commit c76d4ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

templates/chocolateyInstall-Template.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ execute "Installing alex, happy and cabal" `
6868
execute "Re-installing HsColour" `
6969
'cabal install -j --prefix=/usr/local HsColour --reinstall'
7070

71+
# Install some sphinx dependencies
72+
execute "Installing python3 pip" `
73+
'pacman -S --needed --noconfirm mingw-w64-$(uname -m)-python3-pip'
74+
75+
execute "Installing python3 request package" `
76+
'pip3 install requests'
77+
7178
# Create files to access msys
7279
Write-Host "Creating msys2 wrapper..."
7380
$cmd = "@echo off`r`npushd %~dp0`r`n$msysShell -mingw" + $osBitness
@@ -112,7 +119,7 @@ if ($useHadrian -eq $true) {
112119
Write-Host "Setting up Hadrian as requested."
113120

114121
execute "Fetching sources..." `
115-
"cd ghc && git clone git://github.com/snowleopard/hadrian && cd hadrian"
122+
"cd ghc && git clone https://github.com/snowleopard/hadrian.git && cd hadrian"
116123
}
117124

118125
# Install SSHd

0 commit comments

Comments
 (0)