Skip to content

Commit

Permalink
Add ppa:hvr/ghc
Browse files Browse the repository at this point in the history
This is required due to
actions/runner-images#3268.
  • Loading branch information
sol committed May 10, 2021
1 parent 3a3690e commit 992bc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async function stack(version: string, os: OS): Promise<void> {
async function aptBuildEssential(): Promise<Boolean> {
core.info(`Installing build-essential using apt-get (for ghc-head)`);

const returnCode = await exec(`sudo -- sh -c "apt-get update && apt-get -y install build-essential"`);
const returnCode = await exec(`sudo -- sh -c "add-apt-repository -y ppa:hvr/ghc && apt-get update && apt-get -y install build-essential"`);
return (returnCode === 0);
}

Expand Down

0 comments on commit 992bc6e

Please sign in to comment.