diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-08 15:56:45 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-08-08 15:56:45 +0200 |
commit | 6c95e93c85640e1fe544ed1b6a0b83e27725d0f0 (patch) | |
tree | a9a26e16d244311e164222dede579b1228169b20 /overlays | |
parent | f989f3edd7790c9b1a67dc99f074828211bbbe68 (diff) | |
download | Nix-6c95e93c85640e1fe544ed1b6a0b83e27725d0f0.tar.gz Nix-6c95e93c85640e1fe544ed1b6a0b83e27725d0f0.tar.zst Nix-6c95e93c85640e1fe544ed1b6a0b83e27725d0f0.zip |
Migrate caldance configuration to nixos
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/nixops/default.nix | 3 |
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 | ''; |