about summary refs log tree commit diff homepage
path: root/.builds
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-18 13:03:20 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-18 13:04:08 +0900
commit5194715c34a02ed0c36789382e1d39f931248df4 (patch)
tree162f425ede3728065c9cd9e7be0e4695557d7bd4 /.builds
parent0154f00b08057faaa452105987cc6ef336058a92 (diff)
downloadsite-5194715c34a02ed0c36789382e1d39f931248df4.tar.gz
Fix injection
Diffstat (limited to '.builds')
-rw-r--r--.builds/shell.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/.builds/shell.nix b/.builds/shell.nix
index 8a1166d..5b50f03 100644
--- a/.builds/shell.nix
+++ b/.builds/shell.nix
@@ -7,6 +7,8 @@ mkShell {
   shellHook = ''
     npm install highlight.js # https://github.com/NixOS/nixpkgs/issues/152201
     katex=${nodePackages.katex}/lib/node_modules/katex/dist
-    install -m 644 $katex/{katex.min.js,contrib/auto-render.min.js} _libs/katex
+    install -Dm 644 $katex/katex.min.js _libs/katex/katex.min.js
+    install -Dm 644 $katex/contrib/auto-render.min.js\
+      _libs/katex/contrib/auto-render.min.js
   '';
 }