diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-07-25T13·09+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-07-26T15·29+0200 |
commit | 4c9ff89c261d84dcc4f88a79654daff2f4790e66 (patch) | |
tree | 0a66471c1e3c53d35d583972bc504273301d4ef6 /src/libmain/shared.hh | |
parent | c94f3d5575d7af5403274d1e9e2f3c9d72989751 (diff) |
nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store
Note that this removes the need for a derivation symlink, so the --drv-path and --add-drv-link flags now do nothing.
Diffstat (limited to 'src/libmain/shared.hh')
-rw-r--r-- | src/libmain/shared.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmain/shared.hh b/src/libmain/shared.hh index 6d94a22f788e..14e436cc8bb2 100644 --- a/src/libmain/shared.hh +++ b/src/libmain/shared.hh @@ -25,6 +25,9 @@ void initNix(); void parseCmdLine(int argc, char * * argv, std::function<bool(Strings::iterator & arg, const Strings::iterator & end)> parseArg); +void parseCmdLine(const string & programName, const Strings & args, + std::function<bool(Strings::iterator & arg, const Strings::iterator & end)> parseArg); + void printVersion(const string & programName); /* Ugh. No better place to put this. */ |