~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website

Merge branch 'fix/cairosvg-cairo-deps' into 'main'

Fix MkDocs Material CairoSVG crash by adding Cairo runtime deps in devenv

See merge request https://gitlab.com/andreijiroh-dev/website/-/merge_requests/1

Note that this merge request is generated via GitLab Duo Agent, powered by OpenAI GPT-5 model.

Changed files
+20 -2
+20 -2
devenv.nix
···
-
{ pkgs, ... }: {
+
{ pkgs, lib, ... }: {
packages = with pkgs; [
gitFull
···
# doppler
doppler
-
# required for social cards in mkdocs-material
+
# required for social cards in mkdocs-material / CairoSVG
cairo
+
pango
+
gdk-pixbuf
+
librsvg
+
fontconfig
freetype
libffi
libjpeg
zlib
pngquant
];
+
+
# Ensure dynamic linker can find shared libs for Python ctypes consumers like CairoSVG
+
env.LD_LIBRARY_PATH = lib.makeLibraryPath [
+
pkgs.cairo
+
pkgs.pango
+
pkgs.gdk-pixbuf
+
pkgs.librsvg
+
pkgs.fontconfig
+
pkgs.freetype
+
pkgs.zlib
+
];
+
+
# Optional, but silences CI warning and ensures predictable locale
+
env.LANG = "en_US.UTF-8";
languages = {
javascript = {