aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-10 13:29:14 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-05 16:18:48 +0200
commit3ba6fc234562689936523e2642b363404111fecd (patch)
tree97ecba60212c6bf6ff48eb492b35a80ad5a4e1b4
parent9f5433db821612fc462800c7532418522d6dbe2a (diff)
downloadgarage-3ba6fc234562689936523e2642b363404111fecd.tar.gz
garage-3ba6fc234562689936523e2642b363404111fecd.zip
Enable k2v feature flag in CIv0.7.99.3-k2v
-rw-r--r--nix/compile.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/compile.nix b/nix/compile.nix
index 7986fb0d..6f6740b5 100644
--- a/nix/compile.nix
+++ b/nix/compile.nix
@@ -118,6 +118,7 @@ let
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.
+ The experimental feature k2v is also enabled here in all builds.
*/
(pkgs.rustBuilder.rustLib.makeOverride {
name = "garage";
@@ -131,7 +132,7 @@ let
name = "garage_rpc";
overrideAttrs = drv: { /* [1] */ setBuildEnv = (buildEnv drv); };
overrideArgs = old: {
- /* [4] */ features = if release then [ "kubernetes-discovery" ] else [];
+ /* [4] */ features = if release then [ "kubernetes-discovery" "k2v" ] else [ "k2v" ];
};
})