aboutsummaryrefslogtreecommitdiff
path: root/Cargo.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-14 17:24:53 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-15 10:57:22 +0100
commit8dff278b7227007d8a2c2f6c6d6f76c0c5d7a1ac (patch)
tree6fa6fff6b64a1f5f4c74b72cce9ca30c971f5d55 /Cargo.nix
parenta80ce6ab5ad9834c3721eeb4f626d53c9a8bb1f4 (diff)
downloadgarage-8dff278b7227007d8a2c2f6c6d6f76c0c5d7a1ac.tar.gz
garage-8dff278b7227007d8a2c2f6c6d6f76c0c5d7a1ac.zip
[db-snapshot] Implement db snapshotting logic in garage_db
Diffstat (limited to 'Cargo.nix')
-rw-r--r--Cargo.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.nix b/Cargo.nix
index 0a4ca99a..453d83bb 100644
--- a/Cargo.nix
+++ b/Cargo.nix
@@ -4769,6 +4769,7 @@ in
registry = "registry+https://github.com/rust-lang/crates.io-index";
src = fetchCratesIo { inherit name version; sha256 = "a78046161564f5e7cd9008aff3b2990b3850dc8e0349119b98e8f251e099f24d"; };
features = builtins.concatLists [
+ (lib.optional (rootFeatures' ? "garage/bundled-libs" || rootFeatures' ? "garage/default" || rootFeatures' ? "garage/sqlite" || rootFeatures' ? "garage_db/bundled-libs" || rootFeatures' ? "garage_db/default" || rootFeatures' ? "garage_db/rusqlite" || rootFeatures' ? "garage_db/sqlite" || rootFeatures' ? "garage_model/default" || rootFeatures' ? "garage_model/sqlite") "backup")
(lib.optional (rootFeatures' ? "garage/bundled-libs" || rootFeatures' ? "garage/default" || rootFeatures' ? "garage_db/bundled-libs") "bundled")
(lib.optional (rootFeatures' ? "garage/bundled-libs" || rootFeatures' ? "garage/default" || rootFeatures' ? "garage_db/bundled-libs") "modern_sqlite")
];