Prevent future store path references in the manual
This commit is contained in:
parent
89e983786a
commit
5b8dae8ef3
@ -31,10 +31,8 @@ let
|
|||||||
else
|
else
|
||||||
fn;
|
fn;
|
||||||
|
|
||||||
# Convert the list of options into an XML file. The builtin
|
# Convert the list of options into an XML file.
|
||||||
# unsafeDiscardStringContext is used to prevent the realisation of
|
optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList');
|
||||||
# the store paths which are used in options definitions.
|
|
||||||
optionsXML = builtins.toFile "options.xml" (builtins.unsafeDiscardStringContext (builtins.toXML optionsList'));
|
|
||||||
|
|
||||||
optionsDocBook = runCommand "options-db.xml" {} ''
|
optionsDocBook = runCommand "options-db.xml" {} ''
|
||||||
optionsXML=${optionsXML}
|
optionsXML=${optionsXML}
|
||||||
@ -139,6 +137,8 @@ in rec {
|
|||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
meta.description = "The NixOS manual in HTML format";
|
meta.description = "The NixOS manual in HTML format";
|
||||||
|
|
||||||
|
allowedReferences = ["out"];
|
||||||
};
|
};
|
||||||
|
|
||||||
manualPDF = stdenv.mkDerivation {
|
manualPDF = stdenv.mkDerivation {
|
||||||
@ -187,6 +187,8 @@ in rec {
|
|||||||
${docbook5_xsl}/xml/xsl/docbook/manpages/docbook.xsl \
|
${docbook5_xsl}/xml/xsl/docbook/manpages/docbook.xsl \
|
||||||
./man-pages.xml
|
./man-pages.xml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
allowedReferences = ["out"];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user