forked from lix-project/lix
Don't include store docs in every manpage
This commit is contained in:
parent
f6719032cf
commit
baff34d728
|
@ -93,9 +93,6 @@ let
|
||||||
|
|
||||||
maybeProse =
|
maybeProse =
|
||||||
# FIXME: this is a horrible hack to keep `nix help-stores` working.
|
# FIXME: this is a horrible hack to keep `nix help-stores` working.
|
||||||
# the correct answer to this is to remove that command and replace it
|
|
||||||
# by statically generated manpages or the output of something like `nix
|
|
||||||
# store info <store type>`.
|
|
||||||
let
|
let
|
||||||
help-stores = ''
|
help-stores = ''
|
||||||
${index}
|
${index}
|
||||||
|
@ -121,7 +118,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
optionalString (details ? doc) (
|
optionalString (details ? doc) (
|
||||||
if match "@store-types@" details.doc != [ ]
|
if match ".*@store-types@.*" details.doc != null
|
||||||
then help-stores
|
then help-stores
|
||||||
else details.doc
|
else details.doc
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue