home/fish: simplify getmnter function
This commit is contained in:
parent
acc7057790
commit
8a67c3b179
1 changed files with 1 additions and 3 deletions
|
@ -62,7 +62,6 @@
|
|||
jq = lib.getExe pkgs.jq;
|
||||
nix = lib.getExe pkgs.nix;
|
||||
curl = lib.getExe pkgs.curl;
|
||||
awk = lib.getExe pkgs.gawk;
|
||||
in {
|
||||
"pb" = ''
|
||||
${jq} -Rns '{text: inputs}' | \
|
||||
|
@ -72,8 +71,7 @@
|
|||
|
||||
"getmnter" = ''
|
||||
${nix} eval nixpkgs#{$argv}.meta.maintainers --json | \
|
||||
${jq} '.[].github' -r | \
|
||||
${awk} '{ print "@" $1 }'
|
||||
${jq} '.[].github | "@" + .' -r
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue