aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-10 13:29:14 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-20 21:15:09 +0200
commita63a51e032dd5db067a9f917b882e789a364c3f6 (patch)
treeeb31a40c0c0aea8f2b98afe63b420b2db8a93756
parent99976e11f880b39c1c57f66c68f19d8c54ad6c1f (diff)
downloadgarage-0.7.1-admin-k2v.tar.gz
garage-0.7.1-admin-k2v.zip
Enable k2v feature flag in CIv0.7.1-admin-k2v
-rw-r--r--default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index 21a413b2..355b0753 100644
--- a/default.nix
+++ b/default.nix
@@ -86,13 +86,14 @@ in let
It speeds up the compilation (when the feature is not required) and released crates have less dependency by default (less attack surface, disk space, etc.).
But we want to ship these additional features when we release Garage.
In the end, we chose to exclude all features from debug builds while putting (all of) them in the release builds.
- Currently, the only feature of Garage is kubernetes-discovery from the garage_rpc crate.
+ Currently, the only such feature of Garage is kubernetes-discovery from the garage_rpc crate.
+ The experimental feature k2v is also enabled here in all builds.
*/
(pkgs.rustBuilder.rustLib.makeOverride {
name = "garage_rpc";
overrideArgs = old:
{
- features = if release then [ "kubernetes-discovery" ] else [];
+ features = if release then [ "kubernetes-discovery" "k2v" ] else [ "k2v" ];
};
})
];