From 97c51150fadc9a1f2516bafedb4b3d1910159f88 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 9 Jan 2024 00:43:25 +0300 Subject: [PATCH] Fix source filters --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index b1e5ad3..407d679 100644 --- a/flake.nix +++ b/flake.nix @@ -50,6 +50,7 @@ gifFilter = path: type: builtins.match ".*gif$" path != null; jsFilter = path: type: builtins.match ".*js$" path != null; mdFilter = path: type: builtins.match ".*md$" path != null; + txtFilter = path: type: builtins.match ".*txt$" path != null; woff2Filter = path: type: builtins.match ".*woff2$" path != null; src = lib.cleanSourceWith { @@ -59,6 +60,7 @@ || (gifFilter path type) || (jsFilter path type) || (mdFilter path type) + || (txtFilter path type) || (woff2Filter path type); };