forked from DGNum/infrastructure
fix(garage): Fix chunked file uploads from nextcloud
This commit is contained in:
parent
1e77824251
commit
db474477c9
1 changed files with 9 additions and 1 deletions
|
@ -13,7 +13,15 @@ in {
|
||||||
services.garage = {
|
services.garage = {
|
||||||
enable = true;
|
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 = {
|
settings = {
|
||||||
inherit data_dir metadata_dir;
|
inherit data_dir metadata_dir;
|
||||||
|
|
Loading…
Reference in a new issue