about summary refs log tree commit diff
path: root/src/nix/installables.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/installables.hh')
-rw-r--r--src/nix/installables.hh48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/nix/installables.hh b/src/nix/installables.hh
deleted file mode 100644
index a58f7dc59bb4..000000000000
--- a/src/nix/installables.hh
+++ /dev/null
@@ -1,48 +0,0 @@
-#pragma once
-
-#include "args.hh"
-
-namespace nix {
-
-struct UserEnvElem
-{
-    Strings attrPath;
-
-    // FIXME: should use boost::variant or so.
-    bool isDrv;
-
-    // Derivation case:
-    Path drvPath;
-    StringSet outputNames;
-
-    // Non-derivation case:
-    PathSet outPaths;
-};
-
-typedef std::vector<UserEnvElem> UserEnvElems;
-
-struct Value;
-class EvalState;
-
-struct MixInstallables : virtual Args
-{
-    Strings installables;
-    Path file;
-
-    MixInstallables()
-    {
-        mkFlag('f', "file", "file", "evaluate FILE rather than the default", &file);
-        expectArgs("installables", &installables);
-    }
-
-    UserEnvElems evalInstallables(ref<Store> store);
-
-    /* Return a value representing the Nix expression from which we
-       are installing. This is either the file specified by ‘--file’,
-       or an attribute set constructed from $NIX_PATH, e.g. ‘{ nixpkgs
-       = import ...; bla = import ...; }’. */
-    Value * buildSourceExpr(EvalState & state);
-
-};
-
-}