summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix5
-rw-r--r--html/default.nix2
2 files changed, 4 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/ .
diff --git a/html/default.nix b/html/default.nix
index 22686bc..2b398c1 100644
--- a/html/default.nix
+++ b/html/default.nix
@@ -63,6 +63,8 @@ in
} with the help of ${href "https://nixos.org/" "Nix"} and ${
href "https://classless.de/" "Classless CSS"
}, and compressed with the help of ${
+ href "https://https://go.tacodewolff.nl/minify" "minify"
+ }, ${
href "https://github.com/uncss/uncss" "uncss"
}, ${href "https://yui.github.io/yuicompressor/" "YUI Compressor"} and ${
href "https://imagemagick.org/" "ImageMagick"