aboutsummaryrefslogtreecommitdiff
path: root/overlays/nixops
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-10-20 00:05:29 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-10-20 00:05:29 +0200
commit9de2987542f58c3c2b68ad234f9ebe907221098f (patch)
tree6e58766daeca6244f22e8a02ec897fe77e4e9610 /overlays/nixops
parentae485806dd34c6fbf905636a38be1e084324ea90 (diff)
downloadNix-9de2987542f58c3c2b68ad234f9ebe907221098f.tar.gz
Nix-9de2987542f58c3c2b68ad234f9ebe907221098f.tar.zst
Nix-9de2987542f58c3c2b68ad234f9ebe907221098f.zip
Hide exceptions from nixops python
Diffstat (limited to 'overlays/nixops')
-rw-r--r--overlays/nixops/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix
index 5b4bc86..781fc11 100644
--- a/overlays/nixops/default.nix
+++ b/overlays/nixops/default.nix
@@ -8,6 +8,7 @@ self: super: {
8 }) 8 })
9 ]; 9 ];
10 preConfigure = (old.preConfigure or "") + '' 10 preConfigure = (old.preConfigure or "") + ''
11 sed -i -e '/^import sys$/s/$/; sys.tracebacklimit = 0/' scripts/nixops
11 sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py 12 sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py
12 ''; 13 '';
13 }); 14 });