]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
fetch patch for hetzner cloud
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 18 Oct 2019 20:12:31 +0000 (22:12 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 18 Oct 2019 20:12:31 +0000 (22:12 +0200)
overlays/nixops/default.nix

index 247d0366fa762edff49257b709d5576aee26befd..5b4bc8692066e31020f44b8d51363a15213dcf6f 100644 (file)
@@ -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
       '';