mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: updated typstLib
This commit is contained in:
parent
fc85fcb9b1
commit
758c586fb5
2 changed files with 13 additions and 6 deletions
|
|
@ -79,11 +79,18 @@
|
|||
{ typstLib, ... }:
|
||||
typstLib.typstDerivation.overrideAttrs {
|
||||
src = ./y-combinator-wallpaper;
|
||||
dontFixup = true; # no need to patch the pdf
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
typst compile main.typ "$out"/main.svg
|
||||
typst compile main.typ main.svg
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out"
|
||||
cp main.svg "$out/"
|
||||
runHook postInstall
|
||||
'';
|
||||
dontFixup = true;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue