parent
d2c7ee7e25
commit
b32fbc08bd
3 changed files with 5 additions and 4 deletions
apps/gen-docs
|
@ -1,9 +1,9 @@
|
|||
packageMetaFunc=$(cat << EOF
|
||||
(x: {
|
||||
attrs = builtins.mapAttrs (_: v: {
|
||||
desc = v.meta.description or "";
|
||||
desc = builtins.replaceStrings ["\n"] [""] (v.meta.description or "");
|
||||
homepage = v.meta.homepage or "";
|
||||
}) x.\${builtins.currentSystem};
|
||||
}) (builtins.removeAttrs x.\${builtins.currentSystem} ["default"]);
|
||||
})
|
||||
EOF
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue