diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-15 20:28:16 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-15 20:28:16 +0200 |
commit | 2d6d53bc87ef7468ad73431cf76123316f4c82bf (patch) | |
tree | 3fd1742d50c3082959a139e75f7feaa3048f5c91 /src/nix/why-depends.cc | |
parent | 3624c042ace05db88794e87ee37f3296bab19bc8 (diff) |
nix: Fix examples
Diffstat (limited to 'src/nix/why-depends.cc')
-rw-r--r-- | src/nix/why-depends.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc index f854bedb2..7d6ef9be0 100644 --- a/src/nix/why-depends.cc +++ b/src/nix/why-depends.cc @@ -55,15 +55,15 @@ struct CmdWhyDepends : SourceExprCommand return { Example{ "To show one path through the dependency graph leading from Hello to Glibc:", - "nix why-depends nixpkgs.hello nixpkgs.glibc" + "nix why-depends nixpkgs#hello nixpkgs#glibc" }, Example{ "To show all files and paths in the dependency graph leading from Thunderbird to libX11:", - "nix why-depends --all nixpkgs.thunderbird nixpkgs.xorg.libX11" + "nix why-depends --all nixpkgs#thunderbird nixpkgs#xorg.libX11" }, Example{ "To show why Glibc depends on itself:", - "nix why-depends nixpkgs.glibc nixpkgs.glibc" + "nix why-depends nixpkgs#glibc nixpkgs#glibc" }, }; } |