aboutsummaryrefslogtreecommitdiff
path: root/src/legacy/user-env.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/user-env.hh')
-rw-r--r--src/legacy/user-env.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/legacy/user-env.hh b/src/legacy/user-env.hh
new file mode 100644
index 000000000..af45d2d85
--- /dev/null
+++ b/src/legacy/user-env.hh
@@ -0,0 +1,14 @@
+#pragma once
+///@file
+
+#include "get-drvs.hh"
+
+namespace nix {
+
+DrvInfos queryInstalled(EvalState & state, const Path & userEnv);
+
+bool createUserEnv(EvalState & state, DrvInfos & elems,
+ const Path & profile, bool keepDerivations,
+ const std::string & lockToken);
+
+}