Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
downloads Update linux.markdown Mar 9, 2019
img no rackspace logo Mar 3, 2019
js
templates Update default.html Mar 4, 2019
.gitignore
.gitlab-ci.yml allow unfree Jan 24, 2019
LICENSE init hakyll Jan 24, 2019
README.md
community.markdown
default.nix fancy packet svg Mar 3, 2019
documentation.markdown update documentation links Mar 9, 2019
downloads.markdown
haskell-org.cabal adding clean urls to mimic current experience Jan 24, 2019
index.html
irc.markdown
mailing-lists.markdown fancy packet svg Mar 3, 2019
site.hs don't forget top level markdown Mar 3, 2019

README.md

Haskell.org Website

This is the website for www.haskell.org built as a hakyll static site, which builds both as a nix derivation and a standalone cabal project. Issues with the site can be raised in this repository, and PRs can be made to change content. More general administrative issues with the site or related haskell.org infrastructure are better raised directly with the admin team on the #haskell-infrastructure channel on freenode, or at the admin@[LANGUAGE].org email address.

Cabal instructions

Just run cabal v2-build to build or cabal v2-run to run, and cabal v2-run -- build to actually build the site.

Nix instructions

This repo provides haskell.org as a nix derivation of a hakyll built static site. The default.nix file returns a set with two elements

  • builder (the hakyll binary which processes source into the static site)
  • built (the static site built by the builder, and ready to serve)

Developing

Simply run nix-shell. This will allow you to build the site binary which in turn builds the static site. You may also edit the content of the site in the shell.

Editing

You may install the site binary locally with nix-env -f . -iA builder. Once site is on your path you can edit content, and have the site served with site watch.

Building

To obtain the static site simply run nix-build -A built and the generated result link will contain the static site contents.

You can’t perform that action at this time.