diff options
Diffstat (limited to 'overlays/nixops')
-rw-r--r-- | overlays/nixops/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ | |||
1 | self: super: { | 1 | self: super: { |
2 | nixops = super.nixops.overrideAttrs (old: { | 2 | nixops = super.nixops.overrideAttrs (old: { |
3 | patches = [ ./hetzner_cloud.patch ]; | 3 | patches = [ |
4 | (self.fetchpatch { | ||
5 | name = "hetzner_cloud.patch"; | ||
6 | url = "https://github.com/goodraven/nixops/commit/272e50d0b0262e49cdcaad42cdab57aad183d1c2.patch"; | ||
7 | sha256 = "12wcrb0155ald52m7fbr2m5rrxdnwdwripq91ckscgsk42mdc517"; | ||
8 | }) | ||
9 | ]; | ||
4 | preConfigure = (old.preConfigure or "") + '' | 10 | preConfigure = (old.preConfigure or "") + '' |
5 | sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py | 11 | sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py |
6 | ''; | 12 | ''; |