diff options
| author | tv <tv@krebsco.de> | 2026-04-13 01:32:38 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-04-13 01:32:38 +0200 |
| commit | 0271f0db23c1453fe4caf2f6296af19ba3c27715 (patch) | |
| tree | 19e33ad9a12955f17e05e5888c3c61dec6ecffa2 /pkgs | |
| parent | 28e2dccb880e25dca09e54cc937b63663fc189ea (diff) | |
garage-k2v-client: follow garage package
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/simple/garage-k2v-client.nix | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/pkgs/simple/garage-k2v-client.nix b/pkgs/simple/garage-k2v-client.nix index 6c517b8..d6a7ca4 100644 --- a/pkgs/simple/garage-k2v-client.nix +++ b/pkgs/simple/garage-k2v-client.nix @@ -2,22 +2,10 @@ pkgs.rustPlatform.buildRustPackage { pname = "garage-k2v-client"; - version = "0.0.4"; - src = pkgs.fetchgit { - url = "https://git.deuxfleurs.fr/Deuxfleurs/garage.git"; - rev = "v1.0.0"; - hash = "sha256-5W5cXylFCrDup+HOOUVPWBJUSphOp8szgtpvRIv82b8="; - }; - - cargoHash = "sha256-Ggau8m0FVqpS1vMbpwBSkwBx6/2SrBw3ZpYhrjqkhNs="; - - # Copied from nixpkgs@e402c3e's ./pkgs/tools/filesystems/garage/default.nix - postPatch = '' - # Starting in 0.9.x series, Garage is using mold in local development - # and this leaks in this packaging, we remove it to use the default linker. - rm .cargo/config.toml || true - ''; + version = pkgs.garage.version; + src = pkgs.garage.src; + cargoHash = pkgs.garage.cargoHash; preBuild = '' cd src/k2v-client @@ -36,5 +24,8 @@ pkgs.rustPlatform.buildRustPackage { # (but would have to do it after the tests instead.) doCheck = false; - buildFeatures = [ "cli" ]; + buildFeatures = [ + "cli" + "serde/std" + ]; } |
