aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/common-eval-args.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-04-24 14:05:51 +0200
committerGitHub <noreply@github.com>2023-04-24 14:05:51 +0200
commit249ce283320fc277ed2499df33df476508fb3b1b (patch)
treef456ce8583d750fdaad16457302b9935e9df3c84 /src/libcmd/common-eval-args.hh
parent7474a90db69813d051ab1bef35c7d0ab958d9ccd (diff)
parent5d3f6dbf59554fb4701cb678a4ef29918db97767 (diff)
Merge pull request #8172 from edolstra/source-path
Backport `SourcePath` from the lazy-trees branch
Diffstat (limited to 'src/libcmd/common-eval-args.hh')
-rw-r--r--src/libcmd/common-eval-args.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/common-eval-args.hh b/src/libcmd/common-eval-args.hh
index b69db11dd..83edcfb85 100644
--- a/src/libcmd/common-eval-args.hh
+++ b/src/libcmd/common-eval-args.hh
@@ -8,6 +8,7 @@ namespace nix {
class Store;
class EvalState;
class Bindings;
+struct SourcePath;
struct MixEvalArgs : virtual Args
{
@@ -25,6 +26,6 @@ private:
std::map<std::string, std::string> autoArgs;
};
-Path lookupFileArg(EvalState & state, std::string_view s);
+SourcePath lookupFileArg(EvalState & state, std::string_view s);
}