2020-03-27 16:55:26 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
name = "habits-webpage";
|
2020-07-20 11:26:12 +02:00
|
|
|
src = builtins.path { path = ../../playbooks; name = "playbooks"; };
|
2020-03-27 16:55:26 +01:00
|
|
|
buildInputs = [];
|
|
|
|
buildPhase = ''
|
|
|
|
${pkgs.pandoc}/bin/pandoc $src/habits.org -o index.html
|
|
|
|
'';
|
|
|
|
installPhase = ''
|
|
|
|
mv index.html $out
|
|
|
|
'';
|
|
|
|
}
|