aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-01-24 13:15:34 -0300
committerEuAndreh <eu@euandre.org>2020-01-24 13:15:34 -0300
commit1a08821a024cd09b361937b32d0498f21583d7e5 (patch)
tree86b9f08144fcf4e763f2e816919c9421aff360bd /default.nix
parentutils.nix: Revert change (diff)
downloadeuandre.org-1a08821a024cd09b361937b32d0498f21583d7e5.tar.gz
euandre.org-1a08821a024cd09b361937b32d0498f21583d7e5.tar.xz
Add pastebins.html listing page
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix6
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
'';