mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01:00
Fixed backwards compatible hack & added state creation call after build
This commit is contained in:
parent
73995157e3
commit
86b053dd80
5 changed files with 67 additions and 16 deletions
|
|
@ -4,6 +4,7 @@
|
|||
typedef struct _ATerm * ATerm;
|
||||
|
||||
#include "hash.hh"
|
||||
#include "util.hh"
|
||||
|
||||
#include <map>
|
||||
|
||||
|
|
@ -55,6 +56,14 @@ struct DerivationStateOutput
|
|||
this->synchronization = synchronization;
|
||||
this->createDirsBeforeInstall = createDirsBeforeInstall;
|
||||
}
|
||||
|
||||
bool getEnabled(){
|
||||
return string2bool(enabled);
|
||||
}
|
||||
|
||||
bool getCreateDirsBeforeInstall(){
|
||||
return string2bool(createDirsBeforeInstall);
|
||||
}
|
||||
};
|
||||
|
||||
struct DerivationStateOutputDir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue