diff --git a/nix/packages/uwulib/build.nix b/nix/packages/uwulib/build.nix index 7bf4116d..04b400e6 100644 --- a/nix/packages/uwulib/build.nix +++ b/nix/packages/uwulib/build.nix @@ -20,7 +20,7 @@ rec { # we need to keep the `web` directory which would be filtered out by the regular source filtering function # # https://crane.dev/API.html#cranelibcleancargosource - isWebTemplate = path: _type: builtins.match ".*src/web.*" path != null; + isWebTemplate = path: _type: builtins.match ".*(src/(web|service)|docs).*" path != null; isRust = craneLib.filterCargoSources; isNix = path: _type: builtins.match ".+/nix.*" path != null; webOrRustNotNix = p: t: !(isNix p t) && (isWebTemplate p t || isRust p t);