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



                          
                                                                      







                                                           
{ pkgs, ... }:

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