diff options
author | EuAndreh <eu@euandre.org> | 2020-02-14 22:59:46 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-14 23:01:04 -0300 |
commit | 5dc77abbdda39c7539fd6eb780db2d1b63f0a266 (patch) | |
tree | 8998320664b93d2a3719dd837d780ce8f8ea3f36 | |
parent | Call tidy-content.sh in build derivation (diff) | |
download | euandre.org-5dc77abbdda39c7539fd6eb780db2d1b63f0a266.tar.gz euandre.org-5dc77abbdda39c7539fd6eb780db2d1b63f0a266.tar.xz |
Add building docs to test derivation
Diffstat (limited to '')
-rw-r--r-- | default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 4fbdc61..537c2ae 100644 --- a/default.nix +++ b/default.nix @@ -35,6 +35,7 @@ in rec { name = "${baseAttrs.name}-docs"; buildInputs = [ jekyllEnv pkgs.html-tidy ]; buildPhase = '' + patchShebangs . jekyll build -d $out ./scripts/tidy-content.sh $out ''; @@ -46,6 +47,7 @@ in rec { (utils.fixme null) subtasks.hunspellCheck subtasks.assertContent + subtasks.docs ]; shell = pkgs.mkShell rec { name = "website-shell"; |