aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-06-14 16:03:02 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-06-14 16:03:02 +0000
commitf351834f77441e14238b3348cfe211fa6f6f4e3a (patch)
treea6cf4a7ab446029c2bb8bedb8e93a717f30fe8d6 /src/libmain/shared.hh
parent94fd46fa1c4655a609b3a67bef447c9547eb5080 (diff)
* nix-worker: clean up the temporary root for the worker processes
in /nix/var/nix/temproots.
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r--src/libmain/shared.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh
index a7e46c927..62f505189 100644
--- a/src/libmain/shared.hh
+++ b/src/libmain/shared.hh
@@ -33,6 +33,11 @@ extern volatile ::sig_atomic_t blockInt;
MakeError(UsageError, nix::Error);
+struct RemoveTempRoots
+{
+ ~RemoveTempRoots();
+};
+
}