From 8e75ad96bfcc1a4da33b51c8a82adc146b2be011 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Sun, 24 Nov 2024 09:18:55 -0300 Subject: [PATCH] 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. --- docs/plasma-manager-options.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/plasma-manager-options.nix b/docs/plasma-manager-options.nix index 97e2ef99..e8e69935 100644 --- a/docs/plasma-manager-options.nix +++ b/docs/plasma-manager-options.nix @@ -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}