about summary refs log tree commit diff
path: root/website/habits/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'website/habits/default.nix')
-rw-r--r--website/habits/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/website/habits/default.nix b/website/habits/default.nix
new file mode 100644
index 000000000000..e2655846e0cf
--- /dev/null
+++ b/website/habits/default.nix
@@ -0,0 +1,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
+  '';
+}