mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Update src/libflake/flake/flake.cc
Co-authored-by: Graham Christensen <graham@grahamc.com>
This commit is contained in:
parent
ca1b2dc617
commit
a9c1751e2f
1 changed files with 4 additions and 2 deletions
|
@ -751,10 +751,12 @@ LockedFlake lockFlake(
|
|||
printLiteralString(s, resolvedRef.to_string());
|
||||
warn(
|
||||
"Flake input '%1%' uses the flake registry. "
|
||||
"Using the registry in flake inputs is deprecated. "
|
||||
"Using the registry in flake inputs is deprecated in Determinate Nix. "
|
||||
"To make your flake future-proof, add the following to '%2%':\n"
|
||||
"\n"
|
||||
" inputs.%1%.url = %3%;",
|
||||
" inputs.%1%.url = %3%;\n"
|
||||
"\n"
|
||||
"For more information, see: https://github.com/DeterminateSystems/nix-src/issues/37",
|
||||
inputAttrPathS,
|
||||
flake.path,
|
||||
s.str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue