From: Ismaƫl Bouya Date: Fri, 18 Oct 2019 20:12:31 +0000 (+0200) Subject: fetch patch for hetzner cloud X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d9c52a4fad1241813b4d3d5b010f721f64cd436a;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git fetch patch for hetzner cloud --- diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix index 247d0366..5b4bc869 100644 --- a/overlays/nixops/default.nix +++ b/overlays/nixops/default.nix @@ -1,6 +1,12 @@ self: super: { nixops = super.nixops.overrideAttrs (old: { - patches = [ ./hetzner_cloud.patch ]; + patches = [ + (self.fetchpatch { + name = "hetzner_cloud.patch"; + url = "https://github.com/goodraven/nixops/commit/272e50d0b0262e49cdcaad42cdab57aad183d1c2.patch"; + sha256 = "12wcrb0155ald52m7fbr2m5rrxdnwdwripq91ckscgsk42mdc517"; + }) + ]; preConfigure = (old.preConfigure or "") + '' sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py '';