From b76b1d1f1678e329d0596e4403620f653a763d96 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 247d036..5b4bc86 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