about summary refs log blame commit diff
path: root/third_party/nix/src/libexpr/common-eval-args.hh
blob: 9b0a77c6f7cd33440d9b35064e50f593f7fe338f (plain) (tree)
1
2
3
4
5
6
7
8
9

            
                          




                
               
 

                                   
 
                                                          
 
                     
 

                                              

  
                                                    
 
                   
#pragma once

#include "libutil/args.hh"

namespace nix {

class Store;
class EvalState;
class Bindings;

struct MixEvalArgs : virtual Args {
  MixEvalArgs();

  std::unique_ptr<Bindings> getAutoArgs(EvalState& state);

  Strings searchPath;

 private:
  std::map<std::string, std::string> autoArgs;
};

Path lookupFileArg(EvalState& state, std::string s);

}  // namespace nix