diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-20T17·41+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-20T17·41+0100 |
commit | 2754a07eadfa3fe263f83830c701748bbd4c0420 (patch) | |
tree | da273ff0e02a7aa7eb00345f1f1b0ca23ba88643 /src/libstore/remote-store.hh | |
parent | 06f62defe640517267a6a16dd222076c822f3123 (diff) |
nix-store -q --roots: Respect the gc-keep-outputs/gc-keep-derivations settings
So if a path is not garbage solely because it's reachable from a root due to the gc-keep-outputs or gc-keep-derivations settings, ‘nix-store -q --roots’ now shows that root.
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r-- | src/libstore/remote-store.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh index 47c822969f50..14253b92cd0e 100644 --- a/src/libstore/remote-store.hh +++ b/src/libstore/remote-store.hh @@ -40,6 +40,8 @@ public: Path queryDeriver(const Path & path); + PathSet queryValidDerivers(const Path & path); + PathSet queryDerivationOutputs(const Path & path); StringSet queryDerivationOutputNames(const Path & path); |