aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/cgroup.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-16 21:09:48 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-06 13:50:33 +0200
commit7bdcf43b401eba6aee29a359c5bce1f9cc01ce52 (patch)
tree2c45186654b9e1f7ef2ae3e2b246407aafbb95e0 /src/libstore/cgroup.hh
parentca2f64bcdaef5915f5147eac935ecb770511e438 (diff)
Destroy the cgroup prior to building
Diffstat (limited to 'src/libstore/cgroup.hh')
-rw-r--r--src/libstore/cgroup.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstore/cgroup.hh b/src/libstore/cgroup.hh
new file mode 100644
index 000000000..c7b09398e
--- /dev/null
+++ b/src/libstore/cgroup.hh
@@ -0,0 +1,13 @@
+#pragma once
+
+#if __linux__
+
+#include "types.hh"
+
+namespace nix {
+
+void destroyCgroup(const Path & cgroup);
+
+}
+
+#endif