summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-10-18 22:12:31 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:30 +0200
commitd9c52a4fad1241813b4d3d5b010f721f64cd436a (patch)
treec19b8360ce96dfe65d0e28b7a31186ac4e6469d5
parentd8a4e41a41664030ffece882e98694883e377b06 (diff)
downloadNUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.tar.gz
NUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.tar.zst
NUR-d9c52a4fad1241813b4d3d5b010f721f64cd436a.zip
fetch patch for hetzner cloud
-rw-r--r--overlays/nixops/default.nix8
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 @@
1self: super: { 1self: 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 '';