1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 06:53:54 +02:00

Update src/libflake/flake/flake.cc

Co-authored-by: Graham Christensen <graham@grahamc.com>
This commit is contained in:
Eelco Dolstra 2025-04-25 21:51:32 +02:00 committed by GitHub
parent ca1b2dc617
commit a9c1751e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -751,10 +751,12 @@ LockedFlake lockFlake(
printLiteralString(s, resolvedRef.to_string()); printLiteralString(s, resolvedRef.to_string());
warn( warn(
"Flake input '%1%' uses the flake registry. " "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" "To make your flake future-proof, add the following to '%2%':\n"
"\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, inputAttrPathS,
flake.path, flake.path,
s.str()); s.str());