diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-04-24 14:05:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 14:05:51 +0200 |
commit | 249ce283320fc277ed2499df33df476508fb3b1b (patch) | |
tree | f456ce8583d750fdaad16457302b9935e9df3c84 /src/libcmd/common-eval-args.hh | |
parent | 7474a90db69813d051ab1bef35c7d0ab958d9ccd (diff) | |
parent | 5d3f6dbf59554fb4701cb678a4ef29918db97767 (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.hh | 3 |
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); } |