Compare commits
1 commit
138da40caf
...
f6ba3c1516
Author | SHA1 | Date | |
---|---|---|---|
f6ba3c1516 |
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ system=$(nix eval --impure --json --expr 'builtins.currentSystem')
|
||||||
|
|
||||||
# Extract the names of a flake attrset
|
# Extract the names of a flake attrset
|
||||||
get_names() {
|
get_names() {
|
||||||
nix eval --json --apply builtins.attrNames "$1"
|
nix eval --json --apply builtins.attrNames "$1" 2>/dev/null || echo '[]'
|
||||||
}
|
}
|
||||||
|
|
||||||
group "Show Packages for $system"
|
group "Show Packages for $system"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue