fix(garage): Fix chunked file uploads from nextcloud

This commit is contained in:
Tom Hubrecht 2023-12-08 17:54:39 +01:00
parent 1e77824251
commit db474477c9

View file

@ -13,7 +13,15 @@ in {
services.garage = {
enable = true;
package = pkgs.garage_0_9;
package = pkgs.garage_0_9.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
# Allow 0 as a part number marker
(pkgs.fetchpatch {
url = "https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/670.patch";
hash = "sha256-28ctLl1qscMRj2JEVnmhuLyK1Avub8QeyfQFxAK0y08=";
})
];
});
settings = {
inherit data_dir metadata_dir;