From d9c52a4fad1241813b4d3d5b010f721f64cd436a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 18 Oct 2019 22:12:31 +0200 Subject: fetch patch for hetzner cloud --- overlays/nixops/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'overlays/nixops') 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 ''; -- cgit v1.2.3