From d7502e0044ae15503af051338dea0360e1f670d7 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 4 Feb 2024 20:33:46 +0800 Subject: [PATCH] treewide: sed s/--replace/--replace-warn/g --- home/applications/starship/default.nix | 2 +- nixos/profiles/common/graphical/home/scripts/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/applications/starship/default.nix b/home/applications/starship/default.nix index bc87354..5776558 100644 --- a/home/applications/starship/default.nix +++ b/home/applications/starship/default.nix @@ -18,7 +18,7 @@ // builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml") // builtins.fromTOML (builtins.readFile (pkgs.substitute { src = "${pkgs.starship}/share/starship/presets/tokyo-night.toml"; - replacements = ["--replace" "" ""]; + replacements = ["--replace-warn" "" ""]; })); }; } diff --git a/nixos/profiles/common/graphical/home/scripts/default.nix b/nixos/profiles/common/graphical/home/scripts/default.nix index 2ffe58a..0f05480 100644 --- a/nixos/profiles/common/graphical/home/scripts/default.nix +++ b/nixos/profiles/common/graphical/home/scripts/default.nix @@ -40,7 +40,7 @@ in { url = "https://raw.githubusercontent.com/nwg-piotr/nwg-shell/c29e8eb4658a2613fb221ead0b101c75f457bcaf/scripts/screenshot"; hash = "sha256-Z/fWloz8pLHsvPTPOeBxnbMsGDRTY3G3l/uePQ3ZxjU="; }; - replacements = ["--replace" "DIR=\${SCREENSHOT_DIR:=$HOME/Screenshots}" "DIR=$HOME/Pictures/Screenshots"]; # i dont like using an environment variable + replacements = ["--replace-warn" "DIR=\${SCREENSHOT_DIR:=$HOME/Screenshots}" "DIR=$HOME/Pictures/Screenshots"]; # i dont like using an environment variable }; }) ];