1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00

Created commit shell script; next adding nix-state

This commit is contained in:
Wouter den Breejen 2007-05-24 15:08:12 +00:00
parent 97eb8c32a0
commit c9e78a973a
5 changed files with 195 additions and 5 deletions

View file

@ -0,0 +1,16 @@
#ifndef __STORESTATE_H
#define __STORESTATE_H
#include "derivations.hh"
namespace nix {
/* Create a state directory. */
void createStateDirs(const DerivationStateOutputDirs & stateOutputDirs, const DerivationStateOutputs & stateOutputs, const StringPairs & env);
/* Create and prints the output prefixed with '[commandName]:' via print(lvlError,... of a shell command. */
void executeAndPrintShellCommand(const string & command, const string & commandName);
}
#endif /* !__STORESTATE_H */