fix: pass the flakeSelf argument to typst packages

This commit is contained in:
Youwen Wu 2025-01-06 15:51:19 -08:00
parent 1ff976cd36
commit b09e369a76
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 9 additions and 1 deletions

View file

@ -3,6 +3,7 @@
typixLib, typixLib,
typstPackagesCache, typstPackagesCache,
cleanTypstSource, cleanTypstSource,
flakeSelf,
... ...
}: }:
package: package:
@ -12,5 +13,6 @@ package {
typixLib typixLib
typstPackagesCache typstPackagesCache
cleanTypstSource cleanTypstSource
flakeSelf
; ;
} }

View file

@ -2,10 +2,16 @@
pkgs, pkgs,
typstPackagesCache, typstPackagesCache,
typixLib, typixLib,
flakeSelf,
}: }:
let let
defaultArgs = { defaultArgs = {
inherit pkgs typstPackagesCache typixLib; inherit
pkgs
typstPackagesCache
typixLib
flakeSelf
;
}; };
in in
rec { rec {