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