diff options
author | EuAndreh <eu@euandre.org> | 2020-01-24 13:15:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-01-24 13:15:34 -0300 |
commit | 1a08821a024cd09b361937b32d0498f21583d7e5 (patch) | |
tree | 86b9f08144fcf4e763f2e816919c9421aff360bd /default.nix | |
parent | utils.nix: Revert change (diff) | |
download | euandre.org-1a08821a024cd09b361937b32d0498f21583d7e5.tar.gz euandre.org-1a08821a024cd09b361937b32d0498f21583d7e5.tar.xz |
Add pastebins.html listing page
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/default.nix b/default.nix index 4ff2220..414e233 100644 --- a/default.nix +++ b/default.nix @@ -65,15 +65,11 @@ in rec { docs = utils.baseTask.overrideAttrs (baseAttrs: { name = "${baseAttrs.name}-docs"; src = ./site; - buildInputs = [ websiteBuilder pkgs.pandoc ]; + buildInputs = [ websiteBuilder ]; 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 cp -r _site/* $out ''; |