Compare commits
1 commit
f6ba3c1516
...
7e108cf08b
Author | SHA1 | Date | |
---|---|---|---|
7e108cf08b |
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
|
||||
get_names() {
|
||||
nix eval --json --apply builtins.attrNames "$1" 2>/dev/null || echo '[]'
|
||||
nix eval --json --apply builtins.attrNames "$1" 2>/dev/null | jq '.[]'
|
||||
}
|
||||
|
||||
group "Show Packages for $system"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue