diff options
Diffstat (limited to '')
-rw-r--r-- | default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/default.nix b/default.nix index d49da29..6c8a56c 100644 --- a/default.nix +++ b/default.nix @@ -24,10 +24,13 @@ in with pkgs; with pkgs.stdenv; rec { name = "website"; src = ./site; phases = "unpackPhase buildPhase"; - buildInputs = [ websiteBuilder ]; + buildInputs = [ websiteBuilder pandoc ]; buildPhase = '' export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"; export LANG=en_US.UTF-8 + + ls pastebin/*.org | awk -F. '{print $1}' | xargs -I{} pandoc -o {}.html {}.org --standalone + build-site build mkdir $out |