diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-20 00:05:29 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:30 +0200 |
commit | 525986d223f855d7990bb798f83521afc2c3cc28 (patch) | |
tree | cdff7f20da25d5ef749dc5bb4768efa73c00d610 /overlays | |
parent | d9c52a4fad1241813b4d3d5b010f721f64cd436a (diff) | |
download | NUR-525986d223f855d7990bb798f83521afc2c3cc28.tar.gz NUR-525986d223f855d7990bb798f83521afc2c3cc28.tar.zst NUR-525986d223f855d7990bb798f83521afc2c3cc28.zip |
Hide exceptions from nixops python
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/nixops/default.nix | 1 |
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 | }); |