auto-update(nvim): 2025-01-18 15:27:52
Some checks are pending
Deploy Quartz site to GitHub Pages using Nix / build (push) Waiting to run
Deploy Quartz site to GitHub Pages using Nix / deploy (push) Blocked by required conditions

This commit is contained in:
Youwen Wu 2025-01-18 15:27:52 -08:00
parent 7ff85f5e0c
commit d3e0141da5
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 21 additions and 2 deletions

View file

@ -51,7 +51,8 @@
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"typix": "typix",
"typst-packages": "typst-packages"
"typst-packages": "typst-packages",
"zen-typ": "zen-typ"
}
},
"typix": {
@ -89,6 +90,21 @@
"repo": "packages",
"type": "github"
}
},
"zen-typ": {
"locked": {
"lastModified": 1737198395,
"narHash": "sha256-V3runX3cITanGPVF/Sfjak2/FNs6DuAwayQ44Iedal8=",
"owner": "youwen5",
"repo": "zen.typ",
"rev": "3564895682f394f3c9be291332cc19c6ab695a60",
"type": "github"
},
"original": {
"owner": "youwen5",
"repo": "zen.typ",
"type": "github"
}
}
},
"root": "root",

View file

@ -16,6 +16,8 @@
flake = false;
};
zen-typ.url = "github:youwen5/zen.typ";
# Example of downloading icons from a non-flake source
# font-awesome = {
# url = "github:FortAwesome/Font-Awesome";
@ -57,8 +59,9 @@
src = typstPackagesSrc;
dontBuild = true;
installPhase = ''
mkdir -p "$out/typst/packages"
mkdir -p "$out/typst/packages/youwen/zen/0.1.0"
cp -LR --reflink=auto --no-preserve=mode -t "$out/typst/packages" "$src"/*
cp -LR --reflink=auto --no-preserve=mode -t "$out/typst/packages/youwen/zen/0.1.0" "${inputs.zen-typ}/typst"/*
'';
};
typixLib = typix.lib.${system};