about summary refs log tree commit diff
path: root/src/libmain/shared.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-24T20·58-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-24T20·58-0400
commita9e6752bbd888ab8fbc1cda6e4d539b2858c4cef (patch)
tree6d5ac4f9e784b91fe4382293eb84684038990dc1 /src/libmain/shared.hh
parent4aa1e5c55484ac02d28883292ee5c5806f5e4664 (diff)
Include the output name in the GC root link
Output names are now appended to resulting GC symlinks, e.g. by
nix-build.  For backwards compatibility, if the output is named "out",
nothing is appended.  E.g. doing "nix-build -A foo" on a derivation
that produces outputs "out", "bin" and "dev" will produce symlinks
"./result", "./result-bin" and "./result-dev", respectively.
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r--src/libmain/shared.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh
index 7849e10e36..c69879a123 100644
--- a/src/libmain/shared.hh
+++ b/src/libmain/shared.hh
@@ -26,7 +26,6 @@ MakeError(UsageError, nix::Error);
 class StoreAPI;
 
 /* Ugh.  No better place to put this. */
-Path makeRootName(const Path & gcRoot, int & counter);
 void printGCWarning();
 
 void printMissing(StoreAPI & store, const PathSet & paths);