about summary refs log tree commit diff
path: root/doc/languages-frameworks/rust.section.md
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-10-12 23:43:03 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-01-14 22:07:58 +0100
commite07a2fab7f065c3fa084027f07dcf8cafbd19394 (patch)
treef5b76d0e58086a7ef074fec61d9624efc478191d /doc/languages-frameworks/rust.section.md
parent6c08fe3ccf437d8b26bec010fd925ddd6bb0d0d5 (diff)
stdenv: substituteStream: deprecate --replace in favor of --replace-{fail,warn,quiet}
Diffstat (limited to 'doc/languages-frameworks/rust.section.md')
-rw-r--r--doc/languages-frameworks/rust.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 9be381c0bfe27..8191722071e9e 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -700,7 +700,7 @@ with import <nixpkgs> {};
     hello = attrs: lib.optionalAttrs (lib.versionAtLeast attrs.version "1.0")  {
       postPatch = ''
         substituteInPlace lib/zoneinfo.rs \
-          --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
+          --replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
       '';
     };
   };