typstPackages: Fix incorrect dependency propagation

This commit is contained in:
Gongqi Huang
2026-08-30 18:32:08 -04:00
parent 3633f4ab85
commit 153c53403e

View File

@@ -17,9 +17,7 @@ lib.makeOverridable (
inherit (typst) meta;
name = "${typst.name}-env";
paths = lib.foldl' (acc: p: acc ++ lib.singleton p ++ p.propagatedBuildInputs) [ ] (
packages typstPkgs
);
paths = lib.closePropagation (packages typstPkgs);
pathsToLink = [ "/lib/typst-packages" ];