about summary refs log tree commit diff
path: root/website/habits/default.nix
blob: e2655846e0cf451d21f8899043181ba56001ef67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, ... }:

pkgs.stdenv.mkDerivation {
  name = "habits-webpage";
  src = ../../org;
  buildInputs = [];
  buildPhase = ''
    ${pkgs.pandoc}/bin/pandoc $src/habits.org -o index.html
  '';
  installPhase = ''
    mv index.html $out
  '';
}