Skip to content

Commit

Permalink
substitute sed with substituteInPlace, to fail early
Browse files Browse the repository at this point in the history
  • Loading branch information
noamraph committed Apr 5, 2024
1 parent 4a5221e commit 1ce7d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in

buildPhase = ''
# We can't check external links inside the sandbox, but it's good to check them outside the sandbox.
sed -i 's/follow-web-links = true/follow-web-links = false/g' book.toml
substituteInPlace book.toml --replace-fail 'follow-web-links = true' 'follow-web-links = false'
mdbook build
'';

Expand Down

0 comments on commit 1ce7d90

Please sign in to comment.