mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: address deprecation warning in substitute
This commit is contained in:
parent
5753eb1e11
commit
0da982831f
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
mkdir -p $out/etc/profile.d
|
||||||
substitute ${self + /scripts/command-not-found.sh} \
|
substitute ${self + /scripts/command-not-found.sh} \
|
||||||
$out/etc/profile.d/command-not-found.sh \
|
$out/etc/profile.d/command-not-found.sh \
|
||||||
--replace @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \
|
--replace-fail @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \
|
||||||
--replace @tput@ ${pkgs.ncurses}/bin/tput
|
--replace-fail @tput@ ${pkgs.ncurses}/bin/tput
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
mkdir -p $out/etc/profile.d
|
mkdir -p $out/etc/profile.d
|
||||||
substitute ${self + /scripts/command-not-found.sh} \
|
substitute ${self + /scripts/command-not-found.sh} \
|
||||||
$out/etc/profile.d/command-not-found.sh \
|
$out/etc/profile.d/command-not-found.sh \
|
||||||
--replace @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \
|
--replace-fail @nix-locate@ ${pkgs.nix-index}/bin/nix-locate \
|
||||||
--replace @tput@ ${pkgs.ncurses}/bin/tput
|
--replace-fail @tput@ ${pkgs.ncurses}/bin/tput
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue