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> | 2019-10-18 22:12:31 +0200 |
commit | b76b1d1f1678e329d0596e4403620f653a763d96 (patch) | |
tree | 6ecca1ea8ee6078bc58f60a05d4af826e1ddc0ad /overlays | |
parent | 8415083eb6acc343dfa404dbbc12fa0171a48a20 (diff) | |
download | Nix-b76b1d1f1678e329d0596e4403620f653a763d96.tar.gz Nix-b76b1d1f1678e329d0596e4403620f653a763d96.tar.zst Nix-b76b1d1f1678e329d0596e4403620f653a763d96.zip |
fetch patch for hetzner cloud
Diffstat (limited to 'overlays')
-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 247d036..5b4bc86 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 | ''; |