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

Merge pull request #44 from DeterminateSystems/remove-trailing-slash

Remove trailing slash in Zero to Nix URL
This commit is contained in:
Graham Christensen 2025-04-28 22:19:40 +00:00 committed by GitHub
commit 03e2f2f931
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ std::string EvalSettings::resolvePseudoUrl(std::string_view url)
warnOnce(haveWarned,
"Channels are deprecated in favor of flakes in Determinate Nix. "
"Instead of '%s', use '%s'. "
"For a guide on Nix flakes, see: https://zero-to-nix.com/. "
"See https://zero-to-nix.com for a guide to Nix flakes. "
"For details and to offer feedback on the deprecation process, see: https://github.com/DeterminateSystems/nix-src/issues/34.",
url, realUrl);
return realUrl;

View file

@ -166,7 +166,7 @@ static int main_nix_channel(int argc, char ** argv)
{
warn(
"nix-channel is deprecated in favor of flakes in Determinate Nix. \
For a guide on Nix flakes, see: https://zero-to-nix.com/. \
See https://zero-to-nix.com for a guide to Nix flakes. \
For details and to offer feedback on the deprecation process, see: https://github.com/DeterminateSystems/nix-src/issues/34.");
{