diff --git a/machines/storage01/garage.nix b/machines/storage01/garage.nix index 4939e62..484dfd1 100644 --- a/machines/storage01/garage.nix +++ b/machines/storage01/garage.nix @@ -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;