From 153c53403e1c9b7ff6dcc10c7de55fac36e8bd2f Mon Sep 17 00:00:00 2001 From: Gongqi Huang Date: Sun, 30 Aug 2026 18:32:08 -0400 Subject: [PATCH] typstPackages: Fix incorrect dependency propagation --- pkgs/by-name/ty/typst/wrapper.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/ty/typst/wrapper.nix b/pkgs/by-name/ty/typst/wrapper.nix index e7966787195c..16fe2734a4ae 100644 --- a/pkgs/by-name/ty/typst/wrapper.nix +++ b/pkgs/by-name/ty/typst/wrapper.nix @@ -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" ];