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

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