diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-18 22:12:31 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:30 +0200 |
commit | d9c52a4fad1241813b4d3d5b010f721f64cd436a (patch) | |
tree | c19b8360ce96dfe65d0e28b7a31186ac4e6469d5 /overlays/nixops | |
parent | d8a4e41a41664030ffece882e98694883e377b06 (diff) | |
download | NUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.tar.gz NUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.tar.zst NUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.zip |
fetch patch for hetzner cloud
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 | ''; |