mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 09:46:16 +02:00
9d95aafe8c
writes stdout/stderr of the builder to ${prefix}/var/log/nix/x, where x is the file name of the derivation expression, e.g., /nix/var/log/nix/54256391624be04fcb426048ae3ea0a4-d-pan-0.14.2.nix Note that consecutive builds of the same expression overwrite, rather than append to, existing log files.
22 lines
389 B
C++
22 lines
389 B
C++
#ifndef __EXEC_H
|
|
#define __EXEC_H
|
|
|
|
#include <string>
|
|
#include <map>
|
|
|
|
#include "util.hh"
|
|
|
|
using namespace std;
|
|
|
|
|
|
/* A Unix environment is a mapping from strings to strings. */
|
|
typedef map<string, string> Environment;
|
|
|
|
|
|
/* Run a program. */
|
|
void runProgram(const string & program,
|
|
const Strings & args, const Environment & env,
|
|
const string & logFileName);
|
|
|
|
|
|
#endif /* !__EXEC_H */
|