docs: update registry examples

When you run `nix flake info` you get a deprecated message
This commit is contained in:
Dimitar Nestorov 2024-03-14 16:15:52 +02:00 committed by GitHub
parent c152c2767a
commit a50295425e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,10 +15,10 @@ R""(
user flake:nixpkgs github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a user flake:nixpkgs github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a
``` ```
and `nix flake info` will say: and `nix flake metadata` will say:
```console ```console
# nix flake info nixpkgs # nix flake metadata nixpkgs
Resolved URL: github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a Resolved URL: github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a
Locked URL: github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a Locked URL: github:NixOS/nixpkgs/925b70cd964ceaedee26fde9b19cc4c4f081196a