Format and tabulate source references
This commit is contained in:
parent
0670b65fff
commit
185a541c59
@ -49,7 +49,11 @@
|
||||
drvsNoMain = filter nobodyMaintains drvs;
|
||||
drvNamesList = stringJoin (drv: "${drv.name} ${drv.meta.position}") drvsNoMain;
|
||||
uniqNames = runCommandLocal "no-maintainers.txt" {} ''
|
||||
<${drvNamesList} sort -u > $out
|
||||
<${drvNamesList} sort -u \
|
||||
| sed 's/\/nix\/store\/[^/]*/https:\/\/github.com\/NixOS\/nixpkgs\/blob\/master/' \
|
||||
| sed 's/.nix:\(.*\)$/#L\1/' \
|
||||
| ${pkgs.unixtools.column}/bin/column -t \
|
||||
> $out
|
||||
'';
|
||||
in uniqNames;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user