Use packagesFromDirectoryRecursive to improve package building

This commit is contained in:
ulic-youthlic 2025-07-12 23:57:53 +08:00
parent 57dafbe7e1
commit 8aa578123c
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
10 changed files with 27 additions and 33 deletions

View file

@ -16,7 +16,7 @@ update:
nix flake update --log-format internal-json 2>&1 | nom --json
updatePkgs:
cd pkgs && nvfetcher
nvfetcher
build specialisation=DEFAULT_SPECIALISATION:
nh os build {{ FLAKE_HOME }} {{ if specialisation == DEFAULT_SPECIALISATION { "-S" } else { "-s " + specialisation } }}