From 0da982831fb17801612d1aa09be8a194a6bda260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Tue, 7 Jan 2025 16:41:21 +0100 Subject: [PATCH] chore: address deprecation warning in substitute --- SwarselSystems.org | 4 ++-- profiles/home/common/nix-index.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index 1b22c93..8a362b4 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -8948,8 +8948,8 @@ nix-index provides a way to find out which packages are provided by which deriva mkdir -p $out/etc/profile.d substitute ${self + /scripts/command-not-found.sh} \ $out/etc/profile.d/command-not-found.sh \ - --replace @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \ - --replace @tput@ ${pkgs.ncurses}/bin/tput + --replace-fail @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \ + --replace-fail @tput@ ${pkgs.ncurses}/bin/tput ''; in diff --git a/profiles/home/common/nix-index.nix b/profiles/home/common/nix-index.nix index b9a4370..a5efaf6 100644 --- a/profiles/home/common/nix-index.nix +++ b/profiles/home/common/nix-index.nix @@ -6,8 +6,8 @@ mkdir -p $out/etc/profile.d substitute ${self + /scripts/command-not-found.sh} \ $out/etc/profile.d/command-not-found.sh \ - --replace @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \ - --replace @tput@ ${pkgs.ncurses}/bin/tput + --replace-fail @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \ + --replace-fail @tput@ ${pkgs.ncurses}/bin/tput ''; in