Remove reliance on nokogiri and other tools

This commit is contained in:
Danila Fedorin 2022-03-28 04:51:18 +00:00
parent 337bbed852
commit 5e51a6a5bb

View File

@ -3,7 +3,6 @@
with pkgs;
let
requiredPackages = import ./required-packages.nix { inherit pkgs nodejs; };
website = settings: stdenv.mkDerivation {
inherit (settings) src ssl host;
name = "blog-static";
@ -17,11 +16,7 @@ let
extraFlags = if settings.drafts then " -D " else "";
builder = ./build/builder.sh;
buildInputs = [
hugo nodejs katex-html
requiredPackages."katex-0.11.1"
requiredPackages.express
requiredPackages.body-parser
(ruby.withPackages (ps: [ ps.nokogiri ]))
hugo katex-html
];
};
wrapHost = ssl: host: (if ssl then "https" else "http") + "://${host}";