mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +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 \
|
||||
${optionsDoc.optionsJSON}/nix-support/hydra-build-products \
|
||||
$out/nix-support/hydra-build-products \
|
||||
--replace \
|
||||
--replace-fail \
|
||||
'${optionsDoc.optionsJSON}/share/doc/nixos' \
|
||||
"$out/share/doc/darwin"
|
||||
'';
|
||||
|
@ -74,8 +74,8 @@ in rec {
|
|||
cp -r ${pkgs.documentation-highlighter} $dst/highlightjs
|
||||
|
||||
substitute ${./manual.md} manual.md \
|
||||
--replace '@DARWIN_VERSION@' "${version}" \
|
||||
--replace \
|
||||
--replace-fail '@DARWIN_VERSION@' "${version}" \
|
||||
--replace-fail \
|
||||
'@DARWIN_OPTIONS_JSON@' \
|
||||
${optionsJSON}/share/doc/darwin/options.json
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue