aboutsummaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/nixops/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlays/nixops/default.nix b/overlays/nixops/default.nix
index b9b2f15..a297685 100644
--- a/overlays/nixops/default.nix
+++ b/overlays/nixops/default.nix
@@ -9,6 +9,9 @@ self: super: {
9 }) 9 })
10 ]; 10 ];
11 preConfigure = (old.preConfigure or "") + '' 11 preConfigure = (old.preConfigure or "") + ''
12 # https://github.com/NixOS/nixops/issues/1216
13 sed -i -e "/Register the paths in the Nix database./s/#.*$/export USER=root/" nix/libvirtd-image.nix
14
12 sed -i -e '/^import sys$/s/$/; sys.tracebacklimit = 0/' scripts/nixops 15 sed -i -e '/^import sys$/s/$/; sys.tracebacklimit = 0/' scripts/nixops
13 sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py 16 sed -i -e "/'keyFile'/s/'path'/'string'/" nixops/backends/__init__.py
14 ''; 17 '';