diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-01T16·41+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-12-01T16·41+0000 |
commit | b12b21825c949ef9b9327c6a0c9e2d5601aaf0b2 (patch) | |
tree | ad58ff48bd39e25f3ea67c96a00a510b40fb7a77 /src/libexpr/common-opts.hh | |
parent | 23c38a04ccba4469b9aa98167532c236beeee0a0 (diff) |
* Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-build
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test
Diffstat (limited to 'src/libexpr/common-opts.hh')
-rw-r--r-- | src/libexpr/common-opts.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/common-opts.hh b/src/libexpr/common-opts.hh index 6b7247fc3d89..c28641e9015d 100644 --- a/src/libexpr/common-opts.hh +++ b/src/libexpr/common-opts.hh @@ -14,6 +14,8 @@ bool parseOptionArg(const string & arg, Strings::iterator & i, bool parseSearchPathArg(const string & arg, Strings::iterator & i, const Strings::iterator & argsEnd, EvalState & state); +Path lookupFileArg(EvalState & state, string s); + } |