ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/

use dev mode for vm tests

+9 -8
+9 -8
tests/nix/default.nix
··· 153 153 testName = name; 154 154 snakeOil = import "${pkgs.path}/nixos/tests/ssh-keys.nix" pkgs; 155 155 inherit (opts) testDir; 156 - inherit (self'.packages) wire-small; 156 + inherit (self'.packages) wire-small-dev; 157 157 }; 158 158 # NOTE: there is surely a better way of doing this in a more 159 159 # "controlled" manner, but until a need is asked for, this will remain 160 160 # as is. 161 - testScript = '' 162 - start_all() 161 + testScript = 162 + '' 163 + start_all() 163 164 164 - TEST_DIR="${injectedFlakeDir}/${path}" 165 + TEST_DIR="${injectedFlakeDir}/${path}" 165 166 166 - ${builtins.readFile ./tools.py} 167 - '' 168 - + lib.concatStringsSep "\n" (mapAttrsToList (_: value: value._wire.testScript) value.nodes) 169 - + opts.testScript; 167 + ${builtins.readFile ./tools.py} 168 + '' 169 + + lib.concatStringsSep "\n" (mapAttrsToList (_: value: value._wire.testScript) value.nodes) 170 + + opts.testScript; 170 171 }; 171 172 }; 172 173 in