Commit b498cc6a authored by Ben Gamari's avatar Ben Gamari 🐢

Clean up index page

parent 5bba9b5c
Pipeline #8066 passed with stages
in 33 minutes and 20 seconds
......@@ -38,26 +38,49 @@ extract_keys_tarball() {
build_index_html() {
keys="$(find keys/root -type f -printf "%f")"
cat >repo/cabal.project.local <<EOF
local keys="$(find keys/root -type f -printf "%f")"
local newline=$'\n'
cat | sed -e 's/ \+$//' >repo/cabal.project.local <<EOF
secure: True
root-keys: ${keys//.private/ }
key-threshold: 3
${keys//.private/$newline }
cat >repo/index.html <<EOF
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<h1>head.hackage @ GHC</h1>
<p>See the <a href="">head.hackage documentation</a> for details on using this repository.</p>
$(cat repo/cabal.project.local)
<section class="container">
<h1 class="title">head.hackage</h1>
<p>This is a Haskell package repository containing patched
packages from <a href="">Hackage</a> for use
with <a href="">GHC</a> prereleases.
<p>To use package repository with <code>cabal-install</code> add the following
to your project's <code>cabal.project.local</code> and run
<code>cabal new-update</code>:
$(cat repo/cabal.project.local)
<p>If you find a package that doesn't build with a recent GHC
pre-release see the <a
documentation</a> for instructions on how to contribute a patch.
<p>If you encounter other trouble refer to the
<a href="">head.hackage
documentation</a> or
<a href="">let us know</a>.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment