From aa6cefb286f56773cf1840eb82e5e0f19370de0b Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 3 Nov 2025 05:07:35 -0500 Subject: Revert --- flake.nix | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/flake.nix b/flake.nix index f328c8f..9b36e30 100644 --- a/flake.nix +++ b/flake.nix @@ -60,17 +60,16 @@ ]; deps = path: nm: let - src = path; - # src = lib.cleanSourceWith { - # src = path; - # filter = path: type: - # (lib.hasSuffix "\.html" path) || - # (lib.hasSuffix "\.js" path) || - # (lib.hasSuffix "\.css" path) || - # (lib.hasInfix "/assets/" path) || - # (craneLib.filterCargoSources path type) - # ; - # }; + src = lib.cleanSourceWith { + src = path; + filter = path: type: + (lib.hasSuffix "\.html" path) || + (lib.hasSuffix "\.js" path) || + (lib.hasSuffix "\.css" path) || + (lib.hasInfix "/assets/" path) || + (craneLib.filterCargoSources path type) + ; + }; commonArgs = { inherit src nativeBuildInputs buildInputs; strictDeps = true; @@ -85,17 +84,16 @@ cargoArtifacts; build = path: nm: let - src = path; - # src = lib.cleanSourceWith { - # src = path; - # filter = path: type: - # (lib.hasSuffix "\.html" path) || - # (lib.hasSuffix "\.js" path) || - # (lib.hasSuffix "\.css" path) || - # (lib.hasInfix "/assets/" path) || - # (craneLib.filterCargoSources path type) - # ; - # }; + src = lib.cleanSourceWith { + src = path; + filter = path: type: + (lib.hasSuffix "\.html" path) || + (lib.hasSuffix "\.js" path) || + (lib.hasSuffix "\.css" path) || + (lib.hasInfix "/assets/" path) || + (craneLib.filterCargoSources path type) + ; + }; commonArgs = { inherit src nativeBuildInputs buildInputs; strictDeps = true; -- cgit v1.2.3