From 459eac3fff43462c93aebb4e17e4f4a782e6dbf3 Mon Sep 17 00:00:00 2001 From: electria Date: Sat, 22 Aug 2026 17:48:32 -0700 Subject: [PATCH] iced-template: filter source files (to reduce rebuilds) crane does something similar automatically --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a0d008a..ae87721 100644 --- a/flake.nix +++ b/flake.nix @@ -44,7 +44,11 @@ strictDeps = true; __structuredAttrs = true; - src = ./.; + src = lib.sourceFilesBySuffices ./. [ + "Cargo.toml" + "Cargo.lock" + ".rs" + ]; }; crate =