diff options
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 0d516c198d3b..ac31601bef77 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -2,10 +2,21 @@ #include "globals.hh" #include "util.hh" +#include <stdint.h> + namespace nix { +GCOptions::GCOptions() +{ + action = gcDeleteDead; + ignoreLiveness = false; + maxFreed = ULLONG_MAX; + maxLinks = 0; +} + + bool StoreAPI::hasSubstitutes(const Path & path) { PathSet paths = querySubstitutablePaths(); |