mirror of
https://github.com/NixOS/nix
synced 2025-07-05 04:01:47 +02:00
nix flake info: Show resolved URL
This is useful for finding out what a registry lookup resolves to, e.g $ nix flake info patchelf Resolved URL: github:NixOS/patchelf Locked URL: github:NixOS/patchelf/cd7955af31698c571c30b7a0f78e59fd624d0229
This commit is contained in:
parent
ce3173edc1
commit
68b43e01dd
3 changed files with 13 additions and 6 deletions
|
@ -28,6 +28,7 @@ struct FlakeInput
|
|||
struct Flake
|
||||
{
|
||||
FlakeRef originalRef;
|
||||
FlakeRef resolvedRef;
|
||||
FlakeRef lockedRef;
|
||||
std::optional<std::string> description;
|
||||
std::shared_ptr<const fetchers::Tree> sourceInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue