From 89bb239365bdfdef8827251748e6a36d741fdf63 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 28 Dec 2021 23:13:42 +0700 Subject: Fix all HTML and RSS compliance issues (hopefully!) --- .builds/shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .builds/shell.nix (limited to '.builds/shell.nix') diff --git a/.builds/shell.nix b/.builds/shell.nix new file mode 100644 index 0000000..3f21d40 --- /dev/null +++ b/.builds/shell.nix @@ -0,0 +1,12 @@ +with import {}; +mkShell { + nativeBuildInputs = [ + julia-bin nodejs nodePackages.katex + ] ++ (with python3Packages; [ bleach markdown ]); + + shellHook = '' + npm install highlight.js # https://github.com/NixOS/nixpkgs/issues/152201 + ln -fns ${nodePackages.katex}/lib/node_modules/katex/dist _libs/katex + ln -fs _libs/katex/{fonts,katex.min.css} _css + ''; +} -- cgit 1.4.1