aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-09 09:50:29 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-09 09:50:29 +0000
commit582e01c06f9ecee25a31c34562926b41dc2856eb (patch)
treeddb6236f949485e3b5b960d66862c45fbdf32207 /src/libstore/store.hh
parentc5474398433225e40c8868b0952aebe36da2c849 (diff)
* Automatically upgrade <= 0.7 Nix stores to the new schema (so that
existing user environments continue to work). * `nix-store --verify': detect incomplete closures.
Diffstat (limited to 'src/libstore/store.hh')
-rw-r--r--src/libstore/store.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/store.hh b/src/libstore/store.hh
index 8e59679a7..082fc9de4 100644
--- a/src/libstore/store.hh
+++ b/src/libstore/store.hh
@@ -9,6 +9,9 @@
using namespace std;
+const int nixSchemaVersion = 2;
+
+
/* A substitute is a program invocation that constructs some store
path (typically by fetching it from somewhere, e.g., from the
network). */