about summary refs log tree commit diff stats
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-09 00:12:44 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-03-09 13:44:47 +0100
commit0aa8da406af2bcd5246ca11abe415ee08309c531 (patch)
tree03cb6dc6e61c3572abe8db03352e30321673bc68 /pkgs/by-name
parentpkgs/back/config: Also try to open a repo if a directory with `.git` exists (diff)
downloadnixos-server-0aa8da406af2bcd5246ca11abe415ee08309c531.zip
pkgs/back/package.nix: Include the html templates in the build source
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/ba/back/package.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/by-name/ba/back/package.nix b/pkgs/by-name/ba/back/package.nix
index faa0e1d..d70052b 100644
--- a/pkgs/by-name/ba/back/package.nix
+++ b/pkgs/by-name/ba/back/package.nix
@@ -21,7 +21,8 @@ rustPlatform.buildRustPackage {
     filter = name: type:
       (type == "directory")
       || (builtins.elem (builtins.baseNameOf name) ["Cargo.toml" "Cargo.lock" "style.css"])
-      || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name));
+      || (lib.strings.hasSuffix ".rs" (builtins.baseNameOf name))
+      || (lib.strings.hasSuffix ".html" (builtins.baseNameOf name));
   };
 
   doCheck = true;