summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/default.nix b/default.nix
index 8b4a24a..a6e5645 100644
--- a/default.nix
+++ b/default.nix
@@ -7,7 +7,7 @@
yuicompressor,
imagemagick,
nix,
- perlPackages,
+ minify,
# Source files
nixpkgsSrc,
src,
@@ -53,8 +53,7 @@ in
${nixEvalExpr} "
${make} $src/html {}
" > index.html
- ${perlPackages.HTMLClean}/bin/htmlclean index.html
- rm index.html.bak
+ ${minify}/bin/minify index.html --output index.html
# copy static files
cp -r $src/static/ .