1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

* Revert r19650 (implement gc-keep-outputs by looking for derivations

with the same name as the output) and instead use the
  DerivationOutputs table in the database, which is the correct way to
  to do things.
This commit is contained in:
Eelco Dolstra 2010-02-22 11:44:17 +00:00
parent 299ff64812
commit 103cfee056
5 changed files with 34 additions and 74 deletions

View file

@ -243,12 +243,6 @@ void checkStoreName(const string & name);
Path toStorePath(const Path & path);
/* Get the "name" part of a store path, that is, the part after the
hash and the dash, and with any ".drv" suffix removed
(e.g. /nix/store/<hash>-foo-1.2.3.drv => foo-1.2.3). */
string getNameOfStorePath(const Path & path);
/* Follow symlinks until we end up with a path in the Nix store. */
Path followLinksToStore(const Path & path);