1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

* Support queryDeriver() in multi-user installations.

This commit is contained in:
Eelco Dolstra 2007-06-12 16:53:44 +00:00
parent 9d9e1c5c41
commit 6d1a1191b0
10 changed files with 42 additions and 16 deletions

View file

@ -77,6 +77,10 @@ public:
virtual void queryReferrers(const Path & path,
PathSet & referrers) = 0;
/* Query the deriver of a store path. Return the empty string if
no deriver has been set. */
virtual Path queryDeriver(const Path & path) = 0;
/* Copy the contents of a path to the store and register the
validity the resulting path. The resulting path is returned.
If `fixed' is true, then the output of a fixed-output