diff options
Diffstat (limited to 'src/nix/command.hh')
-rw-r--r-- | src/nix/command.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh index eb736ce3a..ae7709b5d 100644 --- a/src/nix/command.hh +++ b/src/nix/command.hh @@ -44,11 +44,14 @@ private: std::shared_ptr<Store> _store; }; +struct Whence { std::string outputName; Path drvPath; }; +typedef std::map<Path, Whence> Buildables; + struct Installable { virtual std::string what() = 0; - virtual PathSet toBuildable() + virtual Buildables toBuildable() { throw Error("argument ā%sā cannot be built", what()); } |