diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-06 15:48:27 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-06 15:49:41 +0200 |
commit | 8d77a76df1c3c20300b0b4fe2671cd74c82606e2 (patch) | |
tree | cb60745d8b1a685f792b898596f51100766c669e /nix | |
parent | 454d8474ef2b1364750ee96dacae0d69df583f93 (diff) | |
download | garage-8d77a76df1c3c20300b0b4fe2671cd74c82606e2.tar.gz garage-8d77a76df1c3c20300b0b4fe2671cd74c82606e2.zip |
Update .nix files
Diffstat (limited to 'nix')
-rw-r--r-- | nix/compile.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nix/compile.nix b/nix/compile.nix index 7986fb0d..5707ed41 100644 --- a/nix/compile.nix +++ b/nix/compile.nix @@ -125,14 +125,15 @@ let /* [1] */ setBuildEnv = (buildEnv drv); /* [2] */ hardeningDisable = [ "pie" ]; }; + overrideArgs = old: { + /* [4] */ features = [ "bundled-libs" ] + ++ (if release then [ "kubernetes-discovery" "telemetry-otlp" "metrics" ] else []); + }; }) (pkgs.rustBuilder.rustLib.makeOverride { name = "garage_rpc"; overrideAttrs = drv: { /* [1] */ setBuildEnv = (buildEnv drv); }; - overrideArgs = old: { - /* [4] */ features = if release then [ "kubernetes-discovery" ] else []; - }; }) (pkgs.rustBuilder.rustLib.makeOverride { |