blob: 781fc11a2d644eeb4eb68a21c5f7b06018f88ef7 (
plain) (
tree)
|
|
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 '/^import sys$/s/$/; sys.tracebacklimit = 0/' scripts/nixops
sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py
'';
});
}
|