Compare commits

..

1 commit

Author SHA1 Message Date
138da40caf
fix(report): use nix eval to list the components
Some checks failed
/ report-size-pr (pull_request) Failing after 2s
/ report-download-check-pr (pull_request) Has been skipped
/ check (treefmt) (push) Successful in 4s
/ report-size (push) Successful in 2s
/ report-download-check (push) Failing after 0s
This is less error prone than parsing the information from `nix flake
show`.
2025-07-13 18:41:59 +02:00

View file

@ -11,7 +11,7 @@ system=$(nix eval --impure --json --expr 'builtins.currentSystem')
# Extract the names of a flake attrset
get_names() {
nix eval --json --apply builtins.attrNames "$1" 2>/dev/null || echo '[]'
nix eval --json --apply builtins.attrNames "$1"
}
group "Show Packages for $system"