fix(report): building the wrong derivation for home-manager
All checks were successful
/ report-size-pr (pull_request) Successful in 2s
/ report-download-check-pr (pull_request) Successful in 0s
/ check (treefmt) (push) Successful in 2s
/ report-size (push) Successful in 1s
/ report-download-check (push) Successful in 0s

Small typo that was breaking this script T-T:

```bash
# Wrong:
nix build --print-out-paths ".#homeConfigurations.$config.activationPackages"

# Correct:
nix build --print-out-paths ".#homeConfigurations.$config.config.home.activationPackage"
```
This commit is contained in:
Jalil David Salamé Messina 2025-07-13 15:02:37 +02:00
parent 7d7a576f50
commit 6b0b78e496
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -51,7 +51,7 @@ pkgs_json() {
hm_configs_json() { hm_configs_json() {
for config in $hmConfigs; do for config in $hmConfigs; do
log "Building $config" log "Building $config"
path=$(nix build --print-out-paths ".#homeConfigurations.$config.activationPackages") path=$(nix build --print-out-paths ".#homeConfigurations.$config.config.home.activationPackage")
closure_size "$config" "$path" closure_size "$config" "$path"
done done
} }