48cdb69efb
I think it might be a good idea to version control my habits, so that I can audit them as they change. I'm publishing these on my website, so that I can refer to them wherever I had internet.
13 lines
244 B
Nix
13 lines
244 B
Nix
{ 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
|
|
'';
|
|
}
|