mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 16:57:08 +00:00
doc/manual: use --replace-fail
This commit is contained in:
parent
bd921223ba
commit
47174f3868
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ in rec {
|
||||||
substitute \
|
substitute \
|
||||||
${optionsDoc.optionsJSON}/nix-support/hydra-build-products \
|
${optionsDoc.optionsJSON}/nix-support/hydra-build-products \
|
||||||
$out/nix-support/hydra-build-products \
|
$out/nix-support/hydra-build-products \
|
||||||
--replace \
|
--replace-fail \
|
||||||
'${optionsDoc.optionsJSON}/share/doc/nixos' \
|
'${optionsDoc.optionsJSON}/share/doc/nixos' \
|
||||||
"$out/share/doc/darwin"
|
"$out/share/doc/darwin"
|
||||||
'';
|
'';
|
||||||
|
@ -74,8 +74,8 @@ in rec {
|
||||||
cp -r ${pkgs.documentation-highlighter} $dst/highlightjs
|
cp -r ${pkgs.documentation-highlighter} $dst/highlightjs
|
||||||
|
|
||||||
substitute ${./manual.md} manual.md \
|
substitute ${./manual.md} manual.md \
|
||||||
--replace '@DARWIN_VERSION@' "${version}" \
|
--replace-fail '@DARWIN_VERSION@' "${version}" \
|
||||||
--replace \
|
--replace-fail \
|
||||||
'@DARWIN_OPTIONS_JSON@' \
|
'@DARWIN_OPTIONS_JSON@' \
|
||||||
${optionsJSON}/share/doc/darwin/options.json
|
${optionsJSON}/share/doc/darwin/options.json
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue