mirror of
https://github.com/NixOS/nix.git
synced 2025-12-23 01:11:07 +01:00
* Derivation expressions now can specify arguments to be passed to the
builder. Note that this unfortunately causes all Fix-computed hashes to change.
This commit is contained in:
parent
e374dbf89b
commit
555347744d
5 changed files with 56 additions and 20 deletions
|
|
@ -4,6 +4,8 @@
|
|||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "util.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
|
|
@ -12,7 +14,8 @@ typedef map<string, string> Environment;
|
|||
|
||||
|
||||
/* Run a program. */
|
||||
void runProgram(const string & program, Environment env);
|
||||
void runProgram(const string & program,
|
||||
const Strings & args, const Environment & env);
|
||||
|
||||
|
||||
#endif /* !__EXEC_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue