mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-12-24 20:11:32 +03:00
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:
parent
383b649822
commit
8e75ad96bf
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user