lix/src/libcmd
Matthew Bauer 428062e578 Get deriver when passing --derivation
This makes Nix look up paths derivations when they are passed as a
store paths. So:

$ nix path-info --derivation /nix/store/0pisd259nldh8yfjvw663mspm60cn5v8-hello-2.10

now gives

/nix/store/qp724w90516n4bk5r9gfb37vzmqdh3z7-hello-2.10.drv

instead of "".

If no deriver is available, Nix now errors instead of silently
ignoring that argument.
2021-04-21 15:32:33 -05:00
..
command.cc Make DerivedPathWithHints a newtype 2021-04-05 10:05:21 -04:00
command.hh Rename Buildable 2021-04-05 09:52:25 -04:00
installables.cc Get deriver when passing --derivation 2021-04-21 15:32:33 -05:00
installables.hh buildable.{cc,hh} -> derived-path.{cc,hh} 2021-04-05 10:33:28 -04:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
markdown.cc libcmd/markdown: handle allocation errors in lowdown_term_rndr 2021-02-06 13:14:57 +01:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00