summaryrefslogtreecommitdiff
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>2020-04-25 00:04:30 +0200
commit525986d223f855d7990bb798f83521afc2c3cc28 (patch)
treecdff7f20da25d5ef749dc5bb4768efa73c00d610
parentd9c52a4fad1241813b4d3d5b010f721f64cd436a (diff)
downloadNUR-525986d223f855d7990bb798f83521afc2c3cc28.tar.gz
NUR-525986d223f855d7990bb798f83521afc2c3cc28.tar.zst
NUR-525986d223f855d7990bb798f83521afc2c3cc28.zip
Hide exceptions from nixops python
-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 5b4bc869..781fc11a 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 });