Skip to content

Commit

Permalink
fix: update deprecated substituteInPlace syntax (#421)
Browse files Browse the repository at this point in the history
- Change --replace to --replace-fail in plasma-manager-options.nix
- Update both options.md and manual.md substitutions
- Maintain same substitution behavior but use supported syntax

This removes usage of deprecated substituteInPlace --replace flag.
  • Loading branch information
HeitorAugustoLN authored Nov 24, 2024
1 parent 383b649 commit 8e75ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/plasma-manager-options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ stdenv.mkDerivation {
cp ${./static/style.css} out/style.css
substituteInPlace options.md \
--replace \
--replace-fail \
'@OPTIONS_JSON@' \
${plasma-manager-options}/share/doc/nixos/options.json
substituteInPlace manual.md \
--replace \
--replace-fail \
'@VERSION@' \
${revision}
Expand Down

0 comments on commit 8e75ad9

Please sign in to comment.