fix: update deprecated substituteInPlace syntax (#421)

- 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.
This commit is contained in:
Heitor Augusto 2024-11-24 09:18:55 -03:00 committed by GitHub
parent 383b649822
commit 8e75ad96bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}