aboutsummaryrefslogtreecommitdiff
path: root/overlays/nixops/default.nix
blob: 5b4bc8692066e31020f44b8d51363a15213dcf6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
self: super: {
  nixops = super.nixops.overrideAttrs (old: {
    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
      '';
  });
}