diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-09 00:12:44 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-09 13:44:47 +0100 |
commit | 0aa8da406af2bcd5246ca11abe415ee08309c531 (patch) | |
tree | 03cb6dc6e61c3572abe8db03352e30321673bc68 /pkgs/by-name/ba/back | |
parent | pkgs/back/config: Also try to open a repo if a directory with `.git` exists (diff) | |
download | nixos-server-0aa8da406af2bcd5246ca11abe415ee08309c531.zip |
pkgs/back/package.nix: Include the html templates in the build source
Diffstat (limited to 'pkgs/by-name/ba/back')
-rw-r--r-- | pkgs/by-name/ba/back/package.nix | 3 |
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; |